mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
phases
This commit is contained in:
parent
cb90463530
commit
1d400e195d
15 changed files with 507 additions and 204 deletions
|
|
@ -108,10 +108,9 @@ void ServerGame::startGameIfReady()
|
|||
for (int i = 0; i < players.size(); i++)
|
||||
players.at(i)->setupZones();
|
||||
|
||||
activePlayer = 0;
|
||||
activePhase = 0;
|
||||
gameStarted = true;
|
||||
broadcastEvent("game_start", NULL);
|
||||
setActivePlayer(0);
|
||||
}
|
||||
|
||||
void ServerGame::addPlayer(ServerSocket *player)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue