fix: send first gamestate only event after everything is ready
This commit is contained in:
parent
14d30e14e4
commit
8add62fe20
@ -819,8 +819,6 @@ public class GameLogic {
|
||||
state.turnOrder.add(id);
|
||||
}
|
||||
|
||||
result.add(buildGameStateEvent(state));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -125,6 +125,8 @@ class GameStateManager {
|
||||
|
||||
result.addAll(result2);
|
||||
|
||||
result.add(GameLogic.buildGameStateEvent(snapshot));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user