Fix profile status on upper left of main menu
The profile status on the upper left of main menu should update now when changing user profiles...:)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "PrecompiledHeader.h"
|
||||
|
||||
#include "GameStateOptions.h"
|
||||
#include "GameStateMenu.h"
|
||||
#include "GameApp.h"
|
||||
#include "OptionItem.h"
|
||||
#include "SimpleMenu.h"
|
||||
@@ -167,6 +168,7 @@ void GameStateOptions::Update(float dt)
|
||||
JSoundSystem::GetInstance()->SetMusicVolume(options[Options::MUSICVOLUME].number);
|
||||
mParent->DoTransition(TRANSITION_FADE, GAME_STATE_MENU);
|
||||
mState = SHOW_OPTIONS;
|
||||
GameStateMenu::genNbCardsStr();
|
||||
break;
|
||||
case WGuiBase::CONFIRM_NEED:
|
||||
optionsTabs->yieldFocus();
|
||||
|
||||
Reference in New Issue
Block a user