mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-28 07:44:22 -08:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user