diff options
-rw-r--r-- | npc/functions/shops.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt index 0e491706..928393f9 100644 --- a/npc/functions/shops.txt +++ b/npc/functions/shops.txt @@ -7,7 +7,7 @@ // none function script restoreshopitem { - if (shopcount(args(0)) < args(1)) - sellitem args(0), -1, args(1); + if (shopcount(getarg(0)) < getarg(1)) + sellitem getarg(0), -1, getarg(1); return; } |