From 7a8e9574767df394b0038a55925b272f2190c7cc Mon Sep 17 00:00:00 2001 From: RickyRister <42636155+RickyRister@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:51:58 -0800 Subject: [PATCH] allow playing cards directly transformed from hand (#5339) --- cockatrice/src/game/player/player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cockatrice/src/game/player/player.cpp b/cockatrice/src/game/player/player.cpp index 7fb36c3f3..1cac2de3d 100644 --- a/cockatrice/src/game/player/player.cpp +++ b/cockatrice/src/game/player/player.cpp @@ -3858,6 +3858,9 @@ void Player::updateCardMenu(const CardItem *card) } addRelatedCardView(card, cardMenu); + if (card->getZone()->getName() == "hand") { + addRelatedCardActions(card, cardMenu); + } } } else { cardMenu->addMenu(moveMenu);