소스 검색

Update slotmachine.c

Maybe Ai? 1 년 전
부모
커밋
1f6c8f1fb7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;