Always push a screen in server only build to fix getCurrentScreen crash

This commit is contained in:
Benau 2018-07-08 09:26:22 +08:00
parent aa0a51c31a
commit f0c376a41d

View File

@ -100,9 +100,7 @@ void Screen::init()
*/
void Screen::push()
{
#ifndef SERVER_ONLY
StateManager::get()->pushScreen(this);
#endif
} // push
// -----------------------------------------------------------------------------