don't unload all edits (machine edits stay loaded, others unloaded when we unload the profile; if we want to reload machine edits, reload the machine profile)
This commit is contained in:
@@ -185,7 +185,6 @@ void GameState::Reset()
|
|||||||
FOREACH_PlayerNumber( pn )
|
FOREACH_PlayerNumber( pn )
|
||||||
PROFILEMAN->UnloadProfile( pn );
|
PROFILEMAN->UnloadProfile( pn );
|
||||||
|
|
||||||
SONGMAN->FreeAllLoadedFromProfile();
|
|
||||||
SONGMAN->UpdateBest();
|
SONGMAN->UpdateBest();
|
||||||
SONGMAN->UpdateShuffled();
|
SONGMAN->UpdateShuffled();
|
||||||
|
|
||||||
@@ -385,8 +384,6 @@ void GameState::EndGame()
|
|||||||
// MEMCARDMAN->FlushAndReset();
|
// MEMCARDMAN->FlushAndReset();
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
|
|
||||||
SONGMAN->FreeAllLoadedFromProfile();
|
|
||||||
|
|
||||||
// make sure we don't execute EndGame twice.
|
// make sure we don't execute EndGame twice.
|
||||||
m_timeGameStarted.SetZero();
|
m_timeGameStarted.SetZero();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user