summaryrefslogtreecommitdiff
path: root/npc/functions/refine.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/refine.txt')
-rw-r--r--npc/functions/refine.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt
index 220ee6de3..79ec82f5a 100644
--- a/npc/functions/refine.txt
+++ b/npc/functions/refine.txt
@@ -62,7 +62,8 @@ function script refineMaster {
// Savior items have different rules
.@savior = false;
- if (compare("savior", strtolower(getitemname(.@item))))
+ // Note: compare is case insensitive
+ if (compare(getitemname(.@item), "savior"))
.@savior = true;
// Legendary Weapons, this formula is hardcoded in C