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 25c37b4..d8e5917 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 @@ -215,7 +215,7 @@ public class Lobby { private synchronized void turnTimeout(Participant source) { var nextTurnEvents = game.endTurn(); nextTurnEvents.add(game.getGameStateEvent()); - connection.broadcastEvents(); + connection.broadcastEvents(nextTurnEvents.toArray(new Event[0])); updateTimer(); }