disabled auto-playing next level when playing in network mode
authorHolger Schemel <info@artsoft.org>
Sat, 25 Aug 2018 13:04:08 +0000 (15:04 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 25 Aug 2018 13:04:08 +0000 (15:04 +0200)
src/game.c
src/screens.c

index fb56f90..36f0a08 100644 (file)
@@ -4724,7 +4724,8 @@ void GameEnd()
 
     DrawHallOfFame(last_level_nr, hi_pos);
   }
-  else if (setup.auto_play_next_level && setup.increment_levels)
+  else if (setup.auto_play_next_level && setup.increment_levels &&
+          !network_playing)
   {
     StartGameActions(network.enabled, setup.autorecord, level.random_seed);
   }
index 4b8af18..337bd56 100644 (file)
@@ -4631,7 +4631,8 @@ void HandleHallOfFame(int mx, int my, int dx, int dy, int button)
     FadeSound(SND_BACKGROUND_SCORES);
 
     if (game_status_last_screen == GAME_MODE_PLAYING &&
-       setup.auto_play_next_level && setup.increment_levels)
+       setup.auto_play_next_level && setup.increment_levels &&
+       !network_playing)
     {
       StartGameActions(network.enabled, setup.autorecord, level.random_seed);
     }