diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-14 18:43:58 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-14 18:43:58 +0200 |
commit | b6f54ed56121aa5435dd813c952b292b25b56bfb (patch) | |
tree | b4c88476393b031f00e9a1398f4f2a352f530341 /backend | |
parent | Fix typo in error subscription path (diff) | |
download | seven-wonders-b6f54ed56121aa5435dd813c952b292b25b56bfb.tar.gz seven-wonders-b6f54ed56121aa5435dd813c952b292b25b56bfb.tar.bz2 seven-wonders-b6f54ed56121aa5435dd813c952b292b25b56bfb.zip |
Add lobby saga
- Fix lobby's player list updates
- Fix lobby's player list order
- Add 'start game' button (not restricted to owner yet)
Resolves:
https://github.com/luxons/seven-wonders/issues/7
Diffstat (limited to 'backend')
-rw-r--r-- | backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java | 2 |
1 files changed, 1 insertions, 1 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 b3345388..8d6623c6 100644 --- a/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java +++ b/backend/src/main/java/org/luxons/sevenwonders/controllers/LobbyController.java @@ -61,7 +61,7 @@ public class LobbyController { } @ApiMethod - @MessageMapping("/lobby/start") + @MessageMapping("/lobby/startGame") public void startGame(Principal principal) { Lobby lobby = getOwnedLobby(principal); Game game = lobby.startGame(); |