fix: fixed refactoring error

This commit is contained in:
Yannik Bretschneider 2021-06-24 15:17:09 +02:00
parent df9268ce17
commit 4943f1ce1a

View File

@ -64,12 +64,12 @@ public class Lobby {
var reqSegment = new RequestGameStateSegment(this.game); var reqSegment = new RequestGameStateSegment(this.game);
this.pauseSegment = new PauseSegment(); this.pauseSegment = new PauseSegment();
var disconnectSegment = new DisconnectSegment(this); var disconnectSegment = new DisconnectSegment(this);
var gameStateSegment = new GameLogicSegment(this.game); var gameLogicSegment = new GameLogicSegment(this.game);
pipeline.addSegment(reqSegment) pipeline.addSegment(reqSegment)
.addSegment(pauseSegment) .addSegment(pauseSegment)
.addSegment(disconnectSegment) .addSegment(disconnectSegment)
.addSegment(gameStateSegment); .addSegment(gameLogicSegment);
Logger.trace("Instantiating timers..."); Logger.trace("Instantiating timers...");