From bbf62228d3a071bbf14eb9724b5633d9374a4d65 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Fri, 31 Jul 2020 12:48:37 -0300
Subject: Attempt to fix a C_EQ bug

---
 npc/functions/politics.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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();
-- 
cgit v1.2.3-70-g09d2