summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/politics.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 269f8cd5c..95469e8bc 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -471,9 +471,9 @@ function script POL_Manage {
if (askyesno() == ASK_YES) {
setd(.@town$+"_MAYOR$", "Jesus Saves");
// If you have already received a vote, this will be skipped
- if (!getd(.@town$+"_VOTES[0]") &&
+ if (getd(.@town$+"_VOTES[0]") <= 0 &&
getd(.@town$+"_CANDIDATE$[0]") == strcharinfo(0))
- setd(.@town$+"_CANDIDATE$[0]", "Jesus Saves"));
+ setd(.@town$+"_CANDIDATE$[0]", "Jesus Saves");
mesc l("YOU HAVE RESIGNED THE OFFICE."), 1;
close;
}