mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Query local game state correctly from tab_supervisor again
Took 3 minutes
This commit is contained in:
parent
d2a0f03625
commit
2df09ebb6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue