fix: ok, we are sending more events
This commit is contained in:
parent
8add62fe20
commit
0fb3ca8728
@ -118,6 +118,8 @@ class GameStateManager {
|
||||
ArrayList<Event> result = GameLogic.startGame(snapshot, selectedCharacters1, selectedCharacters2);
|
||||
applyEvents(result);
|
||||
|
||||
result.add(GameLogic.buildGameStateEvent(state));
|
||||
|
||||
snapshot = state.snapshot();
|
||||
|
||||
ArrayList<Event> result2 = GameLogic.startRound(snapshot);
|
||||
@ -125,7 +127,7 @@ class GameStateManager {
|
||||
|
||||
result.addAll(result2);
|
||||
|
||||
result.add(GameLogic.buildGameStateEvent(snapshot));
|
||||
result.add(GameLogic.buildGameStateEvent(state));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user