fix: send first gamestate only event after everything is ready

This commit is contained in:
punchready 2021-07-29 00:17:41 +02:00
parent 14d30e14e4
commit 8add62fe20
2 changed files with 2 additions and 2 deletions

View File

@ -819,8 +819,6 @@ public class GameLogic {
state.turnOrder.add(id);
}
result.add(buildGameStateEvent(state));
return result;
}

View File

@ -125,6 +125,8 @@ class GameStateManager {
result.addAll(result2);
result.add(GameLogic.buildGameStateEvent(snapshot));
return result;
}