summaryrefslogtreecommitdiff
path: root/npc/020-5/bracco.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-19 10:49:56 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-19 10:49:56 -0300
commit893fe82cb104e2fb19a75b548eb85976ee185a74 (patch)
tree4d9839bf87d5fe354ed16815a34799b316679fda /npc/020-5/bracco.txt
parenta053eac8c6b154b980a0dd00e6c4755b4b402570 (diff)
downloadserverdata-893fe82cb104e2fb19a75b548eb85976ee185a74.tar.gz
serverdata-893fe82cb104e2fb19a75b548eb85976ee185a74.tar.bz2
serverdata-893fe82cb104e2fb19a75b548eb85976ee185a74.tar.xz
serverdata-893fe82cb104e2fb19a75b548eb85976ee185a74.zip
Bracco Infinity Loop fix
Diffstat (limited to 'npc/020-5/bracco.txt')
-rw-r--r--npc/020-5/bracco.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index 54f2bdea7..d86c3d9b1 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -131,6 +131,8 @@ L_Meltdown:
mesc l("What item do you want to melt down? This is irreversible, and may return some ingots to you, but there is no way to tell how many you'll receive!"), 1;
mesc l("Each item have it's own tax.");
.@it=requestitemindex();
+ if (.@it < 0)
+ close;
delinventorylist();
getinventorylist();
.@id=@inventorylist_id[.@it];
@@ -209,6 +211,10 @@ L_Meltdown:
next;
break;
}
+ mesc l("Melt something else?");
+ if (askyesno() == ASK_NO)
+ close;
+ mes "";
goto L_Meltdown;
OnInit: