Version 1.0 #40

Merged
j23f0779 merged 947 commits from development2 into main 2024-12-13 10:26:49 +01:00
Showing only changes of commit d890d11978 - Show all commits

View File

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