diff options
Diffstat (limited to 'sw-server')
-rw-r--r-- | sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/StompDisconnectionListener.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/StompDisconnectionListener.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/StompDisconnectionListener.kt index 893abe19..a33584e0 100644 --- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/StompDisconnectionListener.kt +++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/config/StompDisconnectionListener.kt @@ -37,7 +37,7 @@ internal class StompDisconnectionListener( // TODO auto-play until the end? https://github.com/joffrey-bion/seven-wonders/issues/85 player.isInGame -> gameController.leave(principal) player.isInLobby -> lobbyController.leave(principal) - else -> playerRepository.remove(principal.name) } + playerRepository.remove(principal.name) } } |