forked from External/mage
fixed some timing errors
This commit is contained in:
parent
875614b96c
commit
93120eedea
3 changed files with 13 additions and 5 deletions
|
|
@ -174,7 +174,9 @@ public class GameController implements GameCallback {
|
|||
private synchronized void startGame() {
|
||||
if (gameFuture == null) {
|
||||
for (final Entry<UUID, GameSession> entry: gameSessions.entrySet()) {
|
||||
entry.getValue().init(getGameView(entry.getKey()));
|
||||
if (!entry.getValue().init(getGameView(entry.getKey()))) {
|
||||
logger.severe("Unable to initialize client");
|
||||
}
|
||||
}
|
||||
GameWorker worker = new GameWorker(game, this);
|
||||
gameFuture = gameExecutor.submit(worker);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue