feat: broadcast GamestateEvents after initialization

This commit is contained in:
Yannik Bretschneider 2021-06-05 23:27:40 +02:00
parent bc7dcf4985
commit 0088a4b3e9

View File

@ -59,6 +59,8 @@ public class Lobby {
this.turnTimer = new TurnTimer( this.turnTimer = new TurnTimer(
partyConfig.maxRoundTime, partyConfig.maxRoundTime,
this::turnTimeout); this::turnTimeout);
this.connection.broadcastEvents(game.getGameStateEvent());
} }
/** /**