From 8b3aae72baa76736440477a963a4fb3a2f4cc203 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Jul 2020 06:34:02 -0300 Subject: Fix typo. Styling. --- npc/functions/politics.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions/politics.txt') 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; } -- cgit v1.2.3-60-g2f50