Always push a screen in server only build to fix getCurrentScreen crash
This commit is contained in:
parent
aa0a51c31a
commit
f0c376a41d
@ -100,9 +100,7 @@ void Screen::init()
|
||||
*/
|
||||
void Screen::push()
|
||||
{
|
||||
#ifndef SERVER_ONLY
|
||||
StateManager::get()->pushScreen(this);
|
||||
#endif
|
||||
} // push
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user