Commit 67e1583f authored by rongmauhong's avatar rongmauhong Committed by Atemo

Fix loop issue on Ice Cream Maker NPC (#4127)

* Fixed infinity loop issue if user input any number except 0.
parent 3d8c20f6
......@@ -36,7 +36,7 @@
mes "but we have a limited amount,";
mes "so you can only purchase 5 at a time!!";
next;
while(1) {
while(true) {
input .@input;
if(.@input < 1) {
mes "[Ice Cream Maker]";
......@@ -55,7 +55,9 @@
mes "If you might haveto make a lot of trips";
mes "to the bathroom tonight.";
next;
continue;
}
break;
}
if(Zeny<.@input*100) {
mes "[Ice Cream Maker]";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment