summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-13 09:49:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-13 09:49:17 -0300
commita0fbdab993e79ed3d6690883fbb5896bb0de52ee (patch)
tree97ae0ee21bd66ca35893a3478fa36ebf99743453
parentdfed1e7f04c2b70345df0c60225b7b90c011e5b1 (diff)
downloadserverdata-a0fbdab993e79ed3d6690883fbb5896bb0de52ee.tar.gz
serverdata-a0fbdab993e79ed3d6690883fbb5896bb0de52ee.tar.bz2
serverdata-a0fbdab993e79ed3d6690883fbb5896bb0de52ee.tar.xz
serverdata-a0fbdab993e79ed3d6690883fbb5896bb0de52ee.zip
Fix variable bug reported by HCP
-rw-r--r--npc/functions/siege.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 6e6a48717..6ca42b37a 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -201,7 +201,7 @@ function script siege_check {
debugmes "Number of boss grade monsters found: %d", .@mb;
$SIEGE_DIFFICULTY=max(1, ($SIEGE_DIFFICULTY/2));
// Lower the town reputation in 10%
- .@var$="$"+MapToLoc(.@m$)+"_REPUTATION";
+ .@var$="$"+strtoupper(MapToLoc(.@m$))+"_REPUTATION";
setd(.@var$, getd(.@var$)*9/10);
} else {
kamibroadcast("The city was defended with success! GG, everyone!");