mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-26 03:14:44 -08:00
game is almost playable again
This commit is contained in:
@@ -101,10 +101,9 @@ void TabSupervisor::updatePingTime(int value, int max)
|
||||
|
||||
void TabSupervisor::gameJoined(Event_GameJoined *event)
|
||||
{
|
||||
TabGame *tab = new TabGame(client, event->getGameId());
|
||||
TabGame *tab = new TabGame(client, event->getGameId(), event->getPlayerId(), event->getSpectator());
|
||||
addTab(tab, tr("Game %1").arg(event->getGameId()));
|
||||
gameTabs.insert(event->getGameId(), tab);
|
||||
tab->processGameJoinedEvent(event);
|
||||
setCurrentWidget(tab);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user