summaryrefslogtreecommitdiff
path: root/npc/functions/inventoryplace.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/inventoryplace.txt')
-rw-r--r--npc/functions/inventoryplace.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/inventoryplace.txt b/npc/functions/inventoryplace.txt
index 58b60754..0d8fe397 100644
--- a/npc/functions/inventoryplace.txt
+++ b/npc/functions/inventoryplace.txt
@@ -12,8 +12,8 @@
function script inventoryplace {
getinventorylist;
- set .@iteminfo, getiteminfo(getarg(0), 2);
- set .@countitem, countitemcolor(getarg(0));
+ .@iteminfo = getiteminfo(getarg(0), 2);
+ .@countitem = countitemcolor(getarg(0));
if (checkweight(getarg(0), getarg(1)) == 0) goto L_Warn;
if ((.@iteminfo < 4) && (.@countitem == 0) && (.@inventorylist_count < 100)) return;