From 752ba7d90562eca4b10ba7038fa8b60e3c079fae Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Tue, 6 Oct 2020 22:51:20 +0200 Subject: [PATCH] add face down to the string if the card is face down (#4130) --- cockatrice/src/messagelogwidget.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/messagelogwidget.cpp b/cockatrice/src/messagelogwidget.cpp index 1caecf24..3fc76e21 100644 --- a/cockatrice/src/messagelogwidget.cpp +++ b/cockatrice/src/messagelogwidget.cpp @@ -316,7 +316,11 @@ void MessageLogWidget::logMoveCard(Player *player, bool usesNewX = false; if (targetZoneName == tableConstant()) { soundEngine->playSound("play_card"); - finalStr = tr("%1 puts %2 into play%3."); + if (card->getFaceDown()) { + finalStr = tr("%1 puts %2 into play%3 face down."); + } else { + finalStr = tr("%1 puts %2 into play%3."); + } } else if (targetZoneName == graveyardConstant()) { finalStr = tr("%1 puts %2%3 into their graveyard."); } else if (targetZoneName == exileConstant()) {