summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-22 10:23:32 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-22 10:23:32 -0300
commitfb9eef59bb30774b0d8c1d1f18fae91aa74c0ae6 (patch)
treef3232cdffe760971b7198c19681034bcc0fd6487 /npc
parent615922386c56d473981dad70dce9158fdd135c87 (diff)
downloadserverdata-fb9eef59bb30774b0d8c1d1f18fae91aa74c0ae6.tar.gz
serverdata-fb9eef59bb30774b0d8c1d1f18fae91aa74c0ae6.tar.bz2
serverdata-fb9eef59bb30774b0d8c1d1f18fae91aa74c0ae6.tar.xz
serverdata-fb9eef59bb30774b0d8c1d1f18fae91aa74c0ae6.zip
Make Scholarship Badge used last
Diffstat (limited to 'npc')
-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;