Fix Level and Preferred Sorts to account for a song being in multiple sections

This commit properly returns you to the correct pack when leaving a folder or returning from another screen.
This is achieved by returning you to your last open section. Previously behavior searched for the first instance of the song in your sort and put you in that section.
This commit is contained in:
Crash Cringle
2024-07-07 16:14:07 -07:00
committed by teejusb
parent 0447d9ae58
commit 667d27b361
4 changed files with 35 additions and 9 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ GameState::GameState() :
m_Environment = new LuaTable;
m_bDopefish = false;
sLastOpenSection = "";
sExpandedSectionName = "";
// Don't reset yet; let the first screen do it, so we can use PREFSMAN and THEME.