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:
Matt Lowe 2015-02-08 20:56:16 +01:00
parent 25747a0964
commit f91de7e1f1

View file

@ -886,7 +886,7 @@ void TabGame::startGame(bool resuming)
gameInfo.set_started(true);
static_cast<GameScene *>(gameView->scene())->rearrange();
gameView->show();
if(sayEdit)
if(sayEdit && players.size() > 1)
sayEdit->setFocus();
}