summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Hand.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Hand.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Hand.kt
index a136465d..b3fcdf1f 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Hand.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Hand.kt
@@ -192,7 +192,7 @@ private fun ChildrenBuilder.discardButton(card: HandCard, prepareMove: (MoveType
large = true
intent = Intent.DANGER
icon = IconNames.CROSS
- onClick = { prepareMove(MoveType.DISCARD, card, emptyList()) }
+ onClick = { prepareMove(MoveType.DISCARD, card, singleOptionNoTransactionNeeded()) }
}
}
bgstack15