diff options
Diffstat (limited to 'sw-ui/src/main')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/RouteBasedSagas.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/RouteBasedSagas.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/RouteBasedSagas.kt index 1970bc08..06b33e13 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/RouteBasedSagas.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/RouteBasedSagas.kt @@ -53,6 +53,7 @@ suspend fun SwSagaContext.gameSaga(session: SevenWondersSession) { session.watchPreparedCards(game.id).map { PreparedCardEvent(it) }.dispatchAllIn(this) session.watchOwnMoves().map { PreparedMoveEvent(it) }.dispatchAllIn(this) session.watchTurns().map { TurnInfoEvent(it) }.dispatchAllIn(this) + session.sayReady() } console.log("End of game saga") } |