From b454850bbb6db19cc387b52dce5c1dfd1aecc21b Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 8 Apr 2020 00:53:46 +0200 Subject: Add "leave lobby" button Resolves: https://github.com/joffrey-bion/seven-wonders/issues/8 --- .../kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-client') 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") } -- cgit