summaryrefslogtreecommitdiff
path: root/npc/020-5/bracco.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-5/bracco.txt')
-rw-r--r--npc/020-5/bracco.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/020-5/bracco.txt b/npc/020-5/bracco.txt
index b725f3dde..881b842ca 100644
--- a/npc/020-5/bracco.txt
+++ b/npc/020-5/bracco.txt
@@ -138,6 +138,7 @@
delitem .@id, .@total; // Delete first, no refunds
+ freeloop(true);
for (.@index=0; .@index < @inventorylist_count; .@index++) {
.@x=@inventorylist_id[.@index];
if (.@x == getarg(0) && Zeny >= .@price) {
@@ -147,9 +148,10 @@
mesc l("@@ melt down your @@...", .name$, getitemlink(.@x)), 2;
// Really melt it down
- NewMeltdown(.@x);
+ NewMeltdown(getarg(0));
}
}
+ freeloop(false);
@indexisbroken=true;
return;
}