From 4943f1ce1abd3c25aac44398e0051ad0176e7e31 Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Thu, 24 Jun 2021 15:17:09 +0200 Subject: [PATCH] fix: fixed refactoring error --- .../main/java/uulm/teamname/marvelous/server/lobby/Lobby.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 af01a65..4113fc1 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 @@ -64,12 +64,12 @@ public class Lobby { var reqSegment = new RequestGameStateSegment(this.game); this.pauseSegment = new PauseSegment(); var disconnectSegment = new DisconnectSegment(this); - var gameStateSegment = new GameLogicSegment(this.game); + var gameLogicSegment = new GameLogicSegment(this.game); pipeline.addSegment(reqSegment) .addSegment(pauseSegment) .addSegment(disconnectSegment) - .addSegment(gameStateSegment); + .addSegment(gameLogicSegment); Logger.trace("Instantiating timers...");