Jeck - Final fix to r1109. It was reloading the old options halfway through saving the new ones.
This commit is contained in:
@@ -116,6 +116,12 @@ void GameStateOptions::Update(float dt)
|
||||
optionsMenu->Update(dt);
|
||||
break;
|
||||
}
|
||||
|
||||
if(mReload){
|
||||
options.reloadProfile(false);
|
||||
optionsTabs->Reload();
|
||||
mReload = false;
|
||||
}
|
||||
}
|
||||
|
||||
void GameStateOptions::Render()
|
||||
@@ -163,11 +169,6 @@ void GameStateOptions::Render()
|
||||
|
||||
optionsTabs->Render();
|
||||
|
||||
if(mReload){
|
||||
optionsTabs->Reload();
|
||||
mReload = false;
|
||||
}
|
||||
|
||||
if(mState == SHOW_OPTIONS_MENU)
|
||||
optionsMenu->Render();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user