From 46bb91d3389c79c5375f191a7a136eb775559f99 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 5 May 2015 23:43:14 -0400 Subject: remove close builtin from functions --- world/map/npc/functions/slot_machine.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'world/map/npc/functions/slot_machine.txt') diff --git a/world/map/npc/functions/slot_machine.txt b/world/map/npc/functions/slot_machine.txt index c25dba03..cc8e5a70 100644 --- a/world/map/npc/functions/slot_machine.txt +++ b/world/map/npc/functions/slot_machine.txt @@ -27,16 +27,17 @@ L_Play: mes "Congratulations! You won!"; mes "You get 10 casino coins"; getitem "CasinoCoins", 10; - close; + goto L_Close; L_Lost: mes "You lost!"; - close; + goto L_Close; L_NoCoin: mes "Insert coin"; - close; + goto L_Close; L_Close: - close; + close2; + return; } -- cgit v1.2.3-60-g2f50