diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-12-27 12:47:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-12-27 12:47:38 -0300 |
commit | 8dd7244357f4d70f9601f67159b34c277b9e83dc (patch) | |
tree | d2f399658401e3b55fedbfe7af996453cccd9fc8 /npc/functions | |
parent | 0c07a145cc74db119f6e7bb54c356021e99d72c8 (diff) | |
download | serverdata-8dd7244357f4d70f9601f67159b34c277b9e83dc.tar.gz serverdata-8dd7244357f4d70f9601f67159b34c277b9e83dc.tar.bz2 serverdata-8dd7244357f4d70f9601f67159b34c277b9e83dc.tar.xz serverdata-8dd7244357f4d70f9601f67159b34c277b9e83dc.zip |
Oh look at that bug
Diffstat (limited to 'npc/functions')
-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 593de7c44..092d990dd 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -39,7 +39,7 @@ function script PurchaseTaxes { .@tax=.@tax*.@vat/10000; if (.@tax) { debugmes "%s paid %d in taxes to %s prefecture!", strcharinfo(0), .@tax, .@loc$; - .@gp=getd("$"+.@loc$+"MONEY"); + .@gp=getd("$"+.@loc$+"_MONEY"); setd("$"+.@loc$+"_MONEY", .@gp+.@tax); } return; @@ -60,7 +60,7 @@ function script SaleTaxes { .@tax=.@tax*.@vat/10000; if (.@tax) { debugmes "Sale: %s paid %d in taxes to %s prefecture!", strcharinfo(0), .@tax, .@loc$; - .@gp=getd("$"+.@loc$+"MONEY"); + .@gp=getd("$"+.@loc$+"_MONEY"); setd("$"+.@loc$+"_MONEY", .@gp+.@tax); //Zeny-=.@tax; dispbottom col(l("%s is happy because you've paid %d GP in taxes!", getd("$"+.@loc$+"_MAYOR$"), .@tax), 1); |