fix: actually add the segment

This commit is contained in:
punchready 2021-07-06 13:18:55 +02:00
parent 8c8a4752e3
commit bb5d002cb4

View File

@ -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);