diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:53:46 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:54:08 +0200 |
commit | b454850bbb6db19cc387b52dce5c1dfd1aecc21b (patch) | |
tree | 64d0dc97c0801711df0094cd04695bc3332bc7c1 /sw-client | |
parent | Fix tests (diff) | |
download | seven-wonders-b454850bbb6db19cc387b52dce5c1dfd1aecc21b.tar.gz seven-wonders-b454850bbb6db19cc387b52dce5c1dfd1aecc21b.tar.bz2 seven-wonders-b454850bbb6db19cc387b52dce5c1dfd1aecc21b.zip |
Add "leave lobby" button
Resolves:
https://github.com/joffrey-bion/seven-wonders/issues/8
Diffstat (limited to 'sw-client')
-rw-r--r-- | sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt index 5476a890..6cccea8f 100644 --- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt +++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt @@ -83,7 +83,7 @@ class SevenWondersSession(private val stompSession: StompSessionWithKxSerializat deserializer = LobbyDTO.serializer() ) - suspend fun leaveGame() { + suspend fun leaveLobby() { stompSession.sendEmptyMsg("/app/lobby/leave") } |