merge dev into test #30

Merged
j23f0712 merged 45 commits from development into dev/test 2024-12-02 01:29:40 +01:00
Showing only changes of commit 92cbd9202a - Show all commits

View File

@@ -109,8 +109,10 @@ public void received(LobbyReadyMessage msg, int from) {
} }
this.logic.getGame().setAllReady(true); this.logic.getGame().setAllReady(true);
if (this.logic.getGame().allReady()) {
this.logic.getServerSender().broadcast(new ServerStartGameMessage(this.logic.getGame().getBoard())); this.logic.getServerSender().broadcast(new ServerStartGameMessage(this.logic.getGame().getBoard()));
} }
}
/** /**
* This method will be called whenever the server received a LobbyNotReadyMessage message. * This method will be called whenever the server received a LobbyNotReadyMessage message.