summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 82b107138..d774cd9d2 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -646,7 +646,7 @@ function script mlearn {
if (!sk_canlvup(.@ap))
return false;
- if (countitem(ScholarshipBadge))
+ if (countitem(.@it) < .@am)
delitem ScholarshipBadge, 1;
else
delitem .@it, .@am;