Focus on chat default if not android

This commit is contained in:
Benau
2019-01-15 02:10:27 +08:00
parent 639071f959
commit fd32b530df

View File

@@ -92,6 +92,11 @@ RacePausedDialog::RacePausedDialog(const float percentWidth,
{
World::getWorld()->schedulePause(WorldStatus::IN_GAME_MENU_PHASE);
}
#ifndef ANDROID
if (m_text_box && UserConfigParams::m_lobby_chat)
m_text_box->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
#endif
} // RacePausedDialog
// ----------------------------------------------------------------------------