Condense mana strings shown to player. Fix #8945.

This commit is contained in:
Alex Vasile 2022-07-04 15:09:09 -04:00
parent 1e4c64aacd
commit 08fd93f073

View file

@ -442,9 +442,9 @@ public final class ManaUtil {
}
}
if (baseObject != null) {
return unpaid.getText() + "<div style='font-size:11pt'>" + baseObject.getLogName() + "</div>";
return ManaUtil.condenseManaCostString(unpaid.getText()) + "<div style='font-size:11pt'>" + baseObject.getLogName() + "</div>";
} else {
return unpaid.getText();
return ManaUtil.condenseManaCostString(unpaid.getText());
}
}