merge the new developmentbranch into the test branch #39
@@ -122,6 +122,7 @@ public void received(LobbyReadyMessage msg, int from) {
|
||||
}
|
||||
}
|
||||
this.logic.getGame().getPlayerById(from).setReady(true);
|
||||
this.logic.getServerSender().broadcast(new UpdateReadyMessage(from, true));
|
||||
if (this.logic.getGame().areAllReady()) {
|
||||
this.initializeGame();
|
||||
this.logic.getServerSender().broadcast(new ServerStartGameMessage());
|
||||
|
||||
Reference in New Issue
Block a user