mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-10 20:25:29 -08:00
Merge pull request #1107 from poixen/replay_tab_text
Fixed replay crash
This commit is contained in:
@@ -359,9 +359,6 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
||||
splitter->restoreState(settingsCache->getTabGameSplitterSizes());
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user