diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-28 06:34:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-28 06:34:02 -0300 |
commit | 8b3aae72baa76736440477a963a4fb3a2f4cc203 (patch) | |
tree | 676a5b92961913e0fdfa3aef8b796e5507f68e0b | |
parent | 5f0bcbaf5e0fe7012ce638a83e767a0003af5175 (diff) | |
download | serverdata-8b3aae72baa76736440477a963a4fb3a2f4cc203.tar.gz serverdata-8b3aae72baa76736440477a963a4fb3a2f4cc203.tar.bz2 serverdata-8b3aae72baa76736440477a963a4fb3a2f4cc203.tar.xz serverdata-8b3aae72baa76736440477a963a4fb3a2f4cc203.zip |
Fix typo. Styling.
-rw-r--r-- | npc/functions/politics.txt | 4 |
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; } |