From cacdb798496277e53c2723e3b17a49ed7e7cdf40 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 11 Mar 2018 16:08:45 -0300 Subject: Fix shops, now price is not required anymore --- npc/functions/shops.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-60-g2f50