From bb5d002cb4456199b0442838e4f63a7d1935d5a4 Mon Sep 17 00:00:00 2001 From: punchready Date: Tue, 6 Jul 2021 13:18:55 +0200 Subject: [PATCH] fix: actually add the segment --- .../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 4113fc1..93e7eda 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 @@ -63,11 +63,13 @@ public class Lobby { var reqSegment = new RequestGameStateSegment(this.game); this.pauseSegment = new PauseSegment(); + var requestTurnEndSegment = new RequestTurnEndSegment(this.game); var disconnectSegment = new DisconnectSegment(this); var gameLogicSegment = new GameLogicSegment(this.game); pipeline.addSegment(reqSegment) .addSegment(pauseSegment) + .addSegment(requestTurnEndSegment) .addSegment(disconnectSegment) .addSegment(gameLogicSegment);