summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-31 12:48:37 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-31 12:48:37 -0300
commitbbf62228d3a071bbf14eb9724b5633d9374a4d65 (patch)
treed39e571b5aec2f9f2bed9e281ef8096efd8f9c18 /npc
parent3cc0915de417c37288c6d3e96a416f107ac7b5e3 (diff)
downloadserverdata-bbf62228d3a071bbf14eb9724b5633d9374a4d65.tar.gz
serverdata-bbf62228d3a071bbf14eb9724b5633d9374a4d65.tar.bz2
serverdata-bbf62228d3a071bbf14eb9724b5633d9374a4d65.tar.xz
serverdata-bbf62228d3a071bbf14eb9724b5633d9374a4d65.zip
Attempt to fix a C_EQ bug
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/politics.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index df7b0d61d..83b9e01b5 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -466,7 +466,8 @@ function script POL_Manage {
attachrid(.@id);
dispbottom l("You have been EXILED from %s by %s.", getarg(0), .@MAYOR$);
#EXILED=#EXILED|.@town;
- if (getsavepoint(0) == LocToMap(TPToLoc(.@town)))
+ .@l$=LocToMap(TPToLoc(.@town));
+ if (getsavepoint(0) == .@l$)
savepoint "000-1", 22, 22;
// LOCATION$ will be redefined once you leave so no worries
detachrid();