Some fixes with menu-cutscenes
This commit is contained in:
parent
4ea1b7c6b1
commit
bc2209284b
@ -160,6 +160,7 @@ void AbstractStateManager::replaceTopMostScreen(Screen* screen)
|
||||
getCurrentScreen()->tearDown();
|
||||
|
||||
m_menu_stack[m_menu_stack.size()-1] = name;
|
||||
setGameState(MENU);
|
||||
switchToScreen(name.c_str());
|
||||
|
||||
// Send init event to new menu
|
||||
|
Loading…
Reference in New Issue
Block a user