fix message when moving cards to bottom of library (#4006)

This commit is contained in:
Lee Tran 2020-07-09 16:25:25 -05:00 committed by GitHub
parent 0063493066
commit faecfd65fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -326,8 +326,8 @@ void MessageLogWidget::logMoveCard(Player *player,
} else if (targetZoneName == deckConstant()) {
if (newX == -1) {
finalStr = tr("%1 puts %2%3 into their library.");
} else if (newX == targetZone->getCards().size() - 1) {
finalStr = tr("%1 puts %2%3 on bottom of their library.");
} else if (newX >= targetZone->getCards().size()) {
finalStr = tr("%1 puts %2%3 onto the bottom of their library.");
} else if (newX == 0) {
finalStr = tr("%1 puts %2%3 on top of their library.");
} else {