Jeck - Fix for set loading / unloading.
* This is a little dirty, as it's loading the profile multiple times. The proper way to do it would be to add any line starting with "unlocked_" to an array for deferred loading. This would also allow us to write those lines back even without the associated set being loaded. The clean solution is on my todo-list now :)
This commit is contained in:
@@ -324,8 +324,9 @@ void GameStateMenu::Update(float dt)
|
||||
}else{
|
||||
currentState = MENU_STATE_MAJOR_FIRST_TIME | MENU_STATE_MINOR_NONE;
|
||||
}
|
||||
|
||||
//Reload list of unlocked sets, now that we know about the sets.
|
||||
options.reloadProfile();
|
||||
options.reloadProfile(false);
|
||||
|
||||
//List active profile and database size.
|
||||
PlayerData * playerdata = NEW PlayerData(mParent->collection);
|
||||
|
||||
Reference in New Issue
Block a user