Local chat focus
Games with only 1 player will now not focus on the chat when starting the game. This helps with goldfishing.
This commit is contained in:
parent
25747a0964
commit
f91de7e1f1
1 changed files with 1 additions and 1 deletions
|
@ -886,7 +886,7 @@ void TabGame::startGame(bool resuming)
|
||||||
gameInfo.set_started(true);
|
gameInfo.set_started(true);
|
||||||
static_cast<GameScene *>(gameView->scene())->rearrange();
|
static_cast<GameScene *>(gameView->scene())->rearrange();
|
||||||
gameView->show();
|
gameView->show();
|
||||||
if(sayEdit)
|
if(sayEdit && players.size() > 1)
|
||||||
sayEdit->setFocus();
|
sayEdit->setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue