fix: actually add the segment
This commit is contained in:
parent
8c8a4752e3
commit
bb5d002cb4
@ -63,11 +63,13 @@ public class Lobby {
|
|||||||
|
|
||||||
var reqSegment = new RequestGameStateSegment(this.game);
|
var reqSegment = new RequestGameStateSegment(this.game);
|
||||||
this.pauseSegment = new PauseSegment();
|
this.pauseSegment = new PauseSegment();
|
||||||
|
var requestTurnEndSegment = new RequestTurnEndSegment(this.game);
|
||||||
var disconnectSegment = new DisconnectSegment(this);
|
var disconnectSegment = new DisconnectSegment(this);
|
||||||
var gameLogicSegment = new GameLogicSegment(this.game);
|
var gameLogicSegment = new GameLogicSegment(this.game);
|
||||||
|
|
||||||
pipeline.addSegment(reqSegment)
|
pipeline.addSegment(reqSegment)
|
||||||
.addSegment(pauseSegment)
|
.addSegment(pauseSegment)
|
||||||
|
.addSegment(requestTurnEndSegment)
|
||||||
.addSegment(disconnectSegment)
|
.addSegment(disconnectSegment)
|
||||||
.addSegment(gameLogicSegment);
|
.addSegment(gameLogicSegment);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user