Don't focus name textbox first in register screen

Because it will open screen keybord in mobile stk
This commit is contained in:
Benau 2020-07-26 01:07:36 +08:00
parent 5b427d76c6
commit b8ab802f2d

View File

@ -121,8 +121,6 @@ void RegisterScreen::init()
onDialogClose();
makeEntryFieldsVisible();
local_username->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
// The behaviour of the screen is slightly different at startup, i.e.
// when it is the first screen: cancel will exit the game, and in
// this case no 'back' error should be shown.