mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 00:55:09 -07:00
[Server] Stop mirroring is_tournament on the game-state event
The client learns tournament status from Event_GameJoined's ServerInfo_Game; mirroring it on every Event_GameStateChanged was dead wire data. The field was removed from the proto in [Protocol]; drop the now-invalidated setter.
This commit is contained in:
parent
80703adbbb
commit
de03428e51
1 changed files with 0 additions and 2 deletions
|
|
@ -270,8 +270,6 @@ void Server_Game::createGameStateChangedEvent(Event_GameStateChanged *event,
|
|||
event->set_game_started(false);
|
||||
}
|
||||
|
||||
event->set_is_tournament(isTournament);
|
||||
|
||||
if (tournamentParentGame) {
|
||||
event->set_parent_game_id(tournamentParentGame->getGameId());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue