diff options
-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; |