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

index 36f0a08f0cad7cb995589fa64cec813b2426210f..a84acfb8f5b90cfe87c819c8e270b4aec70d6e49 100644 (file)
@@ -4703,7 +4703,8 @@ void GameEnd()
   }
 
   if (setup.increment_levels &&
-      level_nr < leveldir_current->last_level)
+      level_nr < leveldir_current->last_level &&
+      !network_playing)
   {
     level_nr++;                /* advance to next level */
     TapeErase();       /* start with empty tape */