summaryrefslogtreecommitdiff
path: root/npc/003-5/jeweler.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-15 16:38:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-15 16:38:26 -0300
commite4fb8345a46d41faa2535f39f96a0ed27e795d16 (patch)
tree507c999912c685ffd30cfe91c8f9eafa2e2c55a4 /npc/003-5/jeweler.txt
parent31bb4f529f319a69779d343d3d973ebb526be7e5 (diff)
downloadserverdata-e4fb8345a46d41faa2535f39f96a0ed27e795d16.tar.gz
serverdata-e4fb8345a46d41faa2535f39f96a0ed27e795d16.tar.bz2
serverdata-e4fb8345a46d41faa2535f39f96a0ed27e795d16.tar.xz
serverdata-e4fb8345a46d41faa2535f39f96a0ed27e795d16.zip
Well, [-1] causes script to break...
Diffstat (limited to 'npc/003-5/jeweler.txt')
-rw-r--r--npc/003-5/jeweler.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/003-5/jeweler.txt b/npc/003-5/jeweler.txt
index 6442eab82..e0253c1cf 100644
--- a/npc/003-5/jeweler.txt
+++ b/npc/003-5/jeweler.txt
@@ -131,6 +131,8 @@ L_Clear:
next;
mes "##B" + l("Drag and drop an item from your inventory.") + "##b";
.@item_index = requestitemindex();
+ if (.@item_index < 0)
+ goto L_Menu;
// Check if we received an item
getinventorylist;