summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/slot_machine.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-05 23:43:14 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-06 11:05:34 -0400
commit46bb91d3389c79c5375f191a7a136eb775559f99 (patch)
treef602c0c106748fbb7bd9f28c7bfa7ef81cbd2ddd /world/map/npc/functions/slot_machine.txt
parent969b8628b353e7e5bbdeaac5b4afe46a8a313e4f (diff)
downloadserverdata-46bb91d3389c79c5375f191a7a136eb775559f99.tar.gz
serverdata-46bb91d3389c79c5375f191a7a136eb775559f99.tar.bz2
serverdata-46bb91d3389c79c5375f191a7a136eb775559f99.tar.xz
serverdata-46bb91d3389c79c5375f191a7a136eb775559f99.zip
remove close builtin from functions
Diffstat (limited to 'world/map/npc/functions/slot_machine.txt')
-rw-r--r--world/map/npc/functions/slot_machine.txt9
1 files changed, 5 insertions, 4 deletions
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;
}