summaryrefslogtreecommitdiff
path: root/npc/items/warpTowels.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/warpTowels.txt')
-rw-r--r--npc/items/warpTowels.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/items/warpTowels.txt b/npc/items/warpTowels.txt
index a6ffa8d1..3d181090 100644
--- a/npc/items/warpTowels.txt
+++ b/npc/items/warpTowels.txt
@@ -2,11 +2,11 @@ function script WarpTowel {
@seconds = TowelLastUsed - (gettimetick(2) - 1200);
if (@seconds > 0 && !is_trusted())
goto L_DontPanic;
- .@zone = getmapinfo(MAPINFO_ZONE);
- if (.@zone == "Jail")
+ .@zone$ = getmapinfo(MAPINFO_ZONE);
+ if (.@zone$ == "Jail")
goto L_Prison;
// Zone will never be MMO, though
- if (.@zone == "MMO" || .@zone == "Event")
+ if (.@zone$ == "MMO" || .@zone$ == "Event")
goto L_Forbid;
if (getmapflag(getmapname(), mf_noteleport) || getmapflag(getmapname(), mf_nowarp) || isin("009-7",$@fightclub_x1,$@fightclub_y1,$@fightclub_x2,$@fightclub_y2))
goto L_Forbid;