summaryrefslogtreecommitdiff
path: root/npc/003-4/warp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-4/warp.txt')
-rw-r--r--npc/003-4/warp.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/003-4/warp.txt b/npc/003-4/warp.txt
index df3360fff..9a5d26ac2 100644
--- a/npc/003-4/warp.txt
+++ b/npc/003-4/warp.txt
@@ -3,7 +3,8 @@
003-4,38,31,0 script Mahoud Basement NPC_HIDDEN,0,0,{
OnTouch:
- if (isinstance(getq2(TulimsharQuest_Hasan)) && getq2(TulimsharQuest_Hasan) != 0)
+ // Instance 0 is reserved by system
+ if (instanceowner(getq2(TulimsharQuest_Hasan)) == getcharid(3))
warp "hasn@"+str(getcharid(0)), 34, 27;
else if (getq(TulimsharQuest_Hasan) > 3)
warp "003-4-1", 34, 27;