diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-11 16:08:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-11 16:08:45 -0300 |
commit | cacdb798496277e53c2723e3b17a49ed7e7cdf40 (patch) | |
tree | 908853ab938578a8823d573d58064861e4091e6a /npc/functions/shops.txt | |
parent | 717a38861a5d43d771df8328db77c91dec8a737d (diff) | |
download | serverdata-cacdb798496277e53c2723e3b17a49ed7e7cdf40.tar.gz serverdata-cacdb798496277e53c2723e3b17a49ed7e7cdf40.tar.bz2 serverdata-cacdb798496277e53c2723e3b17a49ed7e7cdf40.tar.xz serverdata-cacdb798496277e53c2723e3b17a49ed7e7cdf40.zip |
Fix shops, now price is not required anymore
Diffstat (limited to 'npc/functions/shops.txt')
-rw-r--r-- | npc/functions/shops.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt index 6e1a5780e..d5dabca7d 100644 --- a/npc/functions/shops.txt +++ b/npc/functions/shops.txt @@ -8,7 +8,7 @@ // Item ID, Item Price, Item Amount function script restoreshopitem { - if (getarg(2) < 1) { + if (getarg(2, -1337) == -1337) { .@amount=getarg(1); .@price=-1; } else { |