diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-12-25 05:10:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-12-25 05:10:58 -0300 |
commit | 60b07b7581d14755455644ec7e66d196c0b8d24c (patch) | |
tree | 46c31d2e2e41f9a465eea1944284b3c14160691e /npc/functions/politics.txt | |
parent | 474f9f8ecdf8eba990c86cda6df60448fb68d215 (diff) | |
download | serverdata-60b07b7581d14755455644ec7e66d196c0b8d24c.tar.gz serverdata-60b07b7581d14755455644ec7e66d196c0b8d24c.tar.bz2 serverdata-60b07b7581d14755455644ec7e66d196c0b8d24c.tar.xz serverdata-60b07b7581d14755455644ec7e66d196c0b8d24c.zip |
FIX CRITICAL BUGS AT POLITICAL SYSTEM
Diffstat (limited to 'npc/functions/politics.txt')
-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 4afc852a8..9ee852e21 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -98,7 +98,7 @@ function script POL_LocToTP { // POL_AdjustPrice( price, {TOWNCODE} ) function script POL_AdjustPrice { .@p=getarg(0); - .@l$=getarg(1, LOCATION$); + .@l$=strtoupper(getarg(1, LOCATION$)); // Town Admin is always tax exempt if (getd("$" + .@l$ + "_MAYOR$") == strcharinfo(0)) @@ -119,7 +119,7 @@ function script POL_AdjustPrice { // POL_PlayerMoney( price, {TOWNCODE} ) function script POL_PlayerMoney { .@p=getarg(0); - .@l$=getarg(1, LOCATION$); + .@l$=strtoupper(getarg(1, LOCATION$)); .@t=POL_LocToTP(.@l$); Zeny-=.@p; |