summaryrefslogtreecommitdiff
path: root/sw-ui-kt/src/main
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-28 16:30:15 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-28 16:30:15 +0100
commit419fe102f898cb546ef00ef7029f02831b5e5b86 (patch)
tree5e197d4e2fba8365712f01caa642d3039a74ae0a /sw-ui-kt/src/main
parentAdd highlight for "just played" cards (diff)
downloadseven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.tar.gz
seven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.tar.bz2
seven-wonders-419fe102f898cb546ef00ef7029f02831b5e5b86.zip
Fix table updates
Diffstat (limited to 'sw-ui-kt/src/main')
-rw-r--r--sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/Reducers.kt1
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
}
bgstack15