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 fb56f906e1efd6bcebf8b496f6935056bf419ca7..36f0a08f0cad7cb995589fa64cec813b2426210f 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 4b8af186277318ca209d22cc6447919efab9ed4b..337bd5652fafbfb5934c884626da4f9618646d05 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);
     }