diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-28 16:30:15 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-28 16:30:15 +0100 |
commit | 419fe102f898cb546ef00ef7029f02831b5e5b86 (patch) | |
tree | 5e197d4e2fba8365712f01caa642d3039a74ae0a /sw-ui-kt/src/main/kotlin | |
parent | Add highlight for "just played" cards (diff) | |
download | seven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.tar.gz seven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.tar.bz2 seven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.zip |
Fix table updates
Diffstat (limited to 'sw-ui-kt/src/main/kotlin')
-rw-r--r-- | sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt index dd6dea98..28bb7993 100644 --- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt +++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt @@ -54,6 +54,7 @@ private fun currentLobbyReducer(currentLobbyId: Long?, action: RAction): Long? = private fun currentTurnInfoReducer(currentTurnInfo: PlayerTurnInfo?, action: RAction): PlayerTurnInfo? = when (action) { is TurnInfoEvent -> action.turnInfo + is TableUpdateEvent -> null else -> currentTurnInfo } |