added (and set) identifier and level number to global levelset structure
[rocksndiamonds.git] / src / screens.c
index 4b8af186277318ca209d22cc6447919efab9ed4b..4ee8179d68dc4a564f6349415908df02d2f802a6 100644 (file)
@@ -1591,6 +1591,8 @@ void DrawMainMenu()
 
   init_last = init;                    /* switch to new busy animation */
 
+  SetLevelSetInfo(leveldir_current->identifier, level_nr);
+
   /* needed if last screen (level choice) changed graphics, sounds or music */
   ReloadCustomArtwork(0);
 
@@ -4631,7 +4633,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);
     }