From 28f34d7c9ffaa76dfd6423fa610954d05a9037a3 Mon Sep 17 00:00:00 2001 From: fdai7472 Date: Mon, 29 Jan 2024 19:06:40 +0100 Subject: [PATCH] bugfix: Guthaben wird nach einem win richtig aktualisiert --- src/main/c/Stefan/slot_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/c/Stefan/slot_machine.c b/src/main/c/Stefan/slot_machine.c index c7bda9e..3a34c10 100644 --- a/src/main/c/Stefan/slot_machine.c +++ b/src/main/c/Stefan/slot_machine.c @@ -18,7 +18,7 @@ void slotMachine(){ balance = subtractBetFromBalance(bet, balance); randomizeSymbols(symbols); - spin(symbols, bet, balance); + balance = spin(symbols, bet, balance); } }