Don't close STK after login screen
This commit is contained in:
parent
952b973b89
commit
6621196266
@ -1746,12 +1746,10 @@ int main(int argc, char *argv[] )
|
|||||||
// so we immediately start the main menu (unless it was requested
|
// so we immediately start the main menu (unless it was requested
|
||||||
// to always show the login screen). Otherwise show the login
|
// to always show the login screen). Otherwise show the login
|
||||||
// screen first.
|
// screen first.
|
||||||
if(PlayerManager::getCurrentPlayer() && !
|
|
||||||
UserConfigParams::m_always_show_login_screen)
|
|
||||||
{
|
|
||||||
MainMenuScreen::getInstance()->push();
|
MainMenuScreen::getInstance()->push();
|
||||||
}
|
|
||||||
else
|
if (!PlayerManager::getCurrentPlayer() ||
|
||||||
|
UserConfigParams::m_always_show_login_screen)
|
||||||
{
|
{
|
||||||
UserScreen::getInstance()->push();
|
UserScreen::getInstance()->push();
|
||||||
// If there is no player, push the RegisterScreen on top of
|
// If there is no player, push the RegisterScreen on top of
|
||||||
|
Loading…
Reference in New Issue
Block a user