From 60b07b7581d14755455644ec7e66d196c0b8d24c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 25 Dec 2019 05:10:58 -0300 Subject: FIX CRITICAL BUGS AT POLITICAL SYSTEM --- npc/functions/politics.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50