summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!");