Explorar o código

Update slotmachine.c

Maybe Ai? hai 1 ano
pai
achega
1f6c8f1fb7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;