diff options
Diffstat (limited to 'backend/src/main/java')
-rw-r--r-- | backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java b/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java index 80fa12e4..cbc69602 100644 --- a/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java +++ b/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java @@ -124,6 +124,7 @@ public class LobbyController { private void sendLobbyUpdateToPlayers(Lobby lobby) { template.convertAndSend("/topic/lobby/" + lobby.getId() + "/updated", lobby); + template.convertAndSend("/topic/games", Collections.singletonList(lobby)); } @MessageMapping("/lobby/start") |