summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/politics.txt')
-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();