Preview token edits live and preserve custom drafts

This commit is contained in:
Bryce! 2026-11-01 20:08:04 -05:00
parent e08402ac94
commit 7e9c209e9a
7 changed files with 296 additions and 29 deletions

View file

@ -951,7 +951,7 @@ void PlayerActions::actCreateToken(TokenInfo tokenToCreate)
lastTokenInfo.name = correctedCard.getName();
int tableRow = lastTokenInfo.faceDown ? 2 : correctedCard.getInfo().getUiAttributes().tableRow;
lastTokenTableRow = TableZoneLogic::tableRowToGridY(tableRow);
if (lastTokenInfo.pt.isEmpty()) {
if (!lastTokenInfo.faceDown && lastTokenInfo.pt.isEmpty()) {
lastTokenInfo.pt = correctedCard.getInfo().getPowTough();
}
}