From 2df09ebb6b4fc079cd6191a1d233a01bbd4d724d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Wed, 10 Sep 2025 09:33:29 +0200 Subject: [PATCH] Query local game state correctly from tab_supervisor again Took 3 minutes --- cockatrice/src/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/game.cpp b/cockatrice/src/game/game.cpp index 6c4ac2e46..71ec71652 100644 --- a/cockatrice/src/game/game.cpp +++ b/cockatrice/src/game/game.cpp @@ -11,7 +11,7 @@ Game::Game(TabGame *_tab, gameMetaInfo = new GameMetaInfo(this); gameMetaInfo->setFromProto(event.game_info()); gameMetaInfo->setRoomGameTypes(_roomGameTypes); - gameState = new GameState(this, 0, event.host_id(), /* _tabSupervisor->getIsLocalGame() */ true, _clients, false, + gameState = new GameState(this, 0, event.host_id(), tab->getTabSupervisor()->getIsLocalGame(), _clients, false, event.resuming(), -1, false); playerManager = new PlayerManager(this, event.player_id(), event.spectator(), event.judge()); gameMetaInfo->setStarted(false);