Don't close STK after login screen

This commit is contained in:
Deve 2018-03-13 21:22:21 +01:00
parent 952b973b89
commit 6621196266

View File

@ -1746,12 +1746,10 @@ int main(int argc, char *argv[] )
// so we immediately start the main menu (unless it was requested
// to always show the login screen). Otherwise show the login
// screen first.
if(PlayerManager::getCurrentPlayer() && !
UserConfigParams::m_always_show_login_screen)
{
MainMenuScreen::getInstance()->push();
}
else
if (!PlayerManager::getCurrentPlayer() ||
UserConfigParams::m_always_show_login_screen)
{
UserScreen::getInstance()->push();
// If there is no player, push the RegisterScreen on top of