summaryrefslogtreecommitdiff
path: root/npc/functions/shops.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-11 16:08:45 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-11 16:08:45 -0300
commitcacdb798496277e53c2723e3b17a49ed7e7cdf40 (patch)
tree908853ab938578a8823d573d58064861e4091e6a /npc/functions/shops.txt
parent717a38861a5d43d771df8328db77c91dec8a737d (diff)
downloadserverdata-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.txt2
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 {