Pārlūkot izejas kodu

Update slotmachine.c

Maybe Ai? 1 gadu atpakaļ
vecāks
revīzija
1f6c8f1fb7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      slotmachine.c

+ 2 - 2
slotmachine.c

@@ -96,8 +96,8 @@ void game_results(SlotMachineApp* app) {
         // Add the bet amount back to the player's money
         app->money += app->bet;
 
-        // Reset the bet amount
-        app->bet = 0;
+        // Reset the bet amount, uncomment me if you want to do this
+        //app->bet = 0;
 
         if (total > highscore.highscore) {
             highscore.highscore = total;