add face down to the string if the card is face down (#4130)

This commit is contained in:
ebbit1q 2020-10-06 22:51:20 +02:00 committed by GitHub
parent 9cf7621102
commit 752ba7d905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,7 +316,11 @@ void MessageLogWidget::logMoveCard(Player *player,
bool usesNewX = false;
if (targetZoneName == tableConstant()) {
soundEngine->playSound("play_card");
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()) {