mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 10:04:46 -07:00
Merge pull request #1107 from poixen/replay_tab_text
Fixed replay crash
This commit is contained in:
commit
bce0b6b03a
1 changed files with 0 additions and 3 deletions
|
|
@ -359,9 +359,6 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
||||||
splitter->restoreState(settingsCache->getTabGameSplitterSizes());
|
splitter->restoreState(settingsCache->getTabGameSplitterSizes());
|
||||||
|
|
||||||
messageLog->logReplayStarted(gameInfo.game_id());
|
messageLog->logReplayStarted(gameInfo.game_id());
|
||||||
|
|
||||||
for (int i = gameInfo.game_types_size() - 1; i >= 0; i--)
|
|
||||||
gameTypes.append(roomGameTypes.find(gameInfo.game_types(i)).value());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TabGame::TabGame(TabSupervisor *_tabSupervisor, QList<AbstractClient *> &_clients, const Event_GameJoined &event, const QMap<int, QString> &_roomGameTypes)
|
TabGame::TabGame(TabSupervisor *_tabSupervisor, QList<AbstractClient *> &_clients, const Event_GameJoined &event, const QMap<int, QString> &_roomGameTypes)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue