summaryrefslogtreecommitdiff
path: root/sw-client/src/commonMain/kotlin
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-04-08 00:53:46 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-04-08 00:54:08 +0200
commitb454850bbb6db19cc387b52dce5c1dfd1aecc21b (patch)
tree64d0dc97c0801711df0094cd04695bc3332bc7c1 /sw-client/src/commonMain/kotlin
parentFix tests (diff)
downloadseven-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/src/commonMain/kotlin')
-rw-r--r--sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt2
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")
}
bgstack15