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 ba86dc40d..231fb9304 100644
--- a/npc/functions/refine.txt
+++ b/npc/functions/refine.txt
@@ -50,10 +50,11 @@ function script refineMaster {
*/
// Not all items are refinable
- if (!getequipisenableref(.@item)) {
+ if (!getequipisenableref(.@it)) {
mesn;
mesq l("Well, sorry, but only weapons and body armor can be refined.");
mesq l("There may be some exceptions. Anyway, this item clearly cannot be refined.");
+ next;
return;
}