From 0088a4b3e9e2e7c9d3349168c9154ddd517f3d0a Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 5 Jun 2021 23:27:40 +0200 Subject: [PATCH] feat: broadcast GamestateEvents after initialization --- .../main/java/uulm/teamname/marvelous/server/lobby/Lobby.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/Lobby.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/Lobby.java index fe74d5a..6eaac8e 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/Lobby.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/Lobby.java @@ -59,6 +59,8 @@ public class Lobby { this.turnTimer = new TurnTimer( partyConfig.maxRoundTime, this::turnTimeout); + + this.connection.broadcastEvents(game.getGameStateEvent()); } /**