mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Minor bugfixes
This commit is contained in:
parent
a11f93df4d
commit
e31cfd32b1
9 changed files with 26 additions and 17 deletions
|
|
@ -96,9 +96,11 @@ void TestServerGame::startGameIfReady()
|
|||
for (int i = 0; i < players.size(); i++)
|
||||
if (players.at(i)->getStatus() != StatusReadyStart)
|
||||
return;
|
||||
|
||||
rnd = new TestRandom(this);
|
||||
rnd->init();
|
||||
|
||||
if (!rnd) {
|
||||
rnd = new TestRandom(this);
|
||||
rnd->init();
|
||||
}
|
||||
|
||||
for (int i = 0; i < players.size(); i++)
|
||||
players.at(i)->setupZones();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue