summaryrefslogtreecommitdiff
path: root/sw-ui-kt/src/main/kotlin/org/luxons
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui-kt/src/main/kotlin/org/luxons')
-rw-r--r--sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/LobbySagas.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/LobbySagas.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/LobbySagas.kt
index 143fecd8..b081e61d 100644
--- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/LobbySagas.kt
+++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/LobbySagas.kt
@@ -14,7 +14,7 @@ import org.luxons.sevenwonders.ui.router.Route
suspend fun SwSagaContext.lobbySaga(session: SevenWondersSession) {
val lobbyId = getState().currentLobbyId ?: error("Lobby saga run without a current lobby")
coroutineScope {
- val lobbyUpdatesSubscription = session.watchLobbyUpdates(lobbyId)
+ val lobbyUpdatesSubscription = session.watchLobbyUpdates()
launch { watchLobbyUpdates(lobbyUpdatesSubscription) }
val startGameJob = launch { awaitStartGame(session) }
bgstack15