added (and set) identifier and level number to global levelset structure
[rocksndiamonds.git] / src / screens.c
index 337bd5652fafbfb5934c884626da4f9618646d05..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);