fix: fixed the No-Events-bug in the lobby
This commit is contained in:
@ -215,7 +215,7 @@ public class Lobby {
|
||||
private synchronized void turnTimeout(Participant source) {
|
||||
var nextTurnEvents = game.endTurn();
|
||||
nextTurnEvents.add(game.getGameStateEvent());
|
||||
connection.broadcastEvents();
|
||||
connection.broadcastEvents(nextTurnEvents.toArray(new Event[0]));
|
||||
updateTimer();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user