Merge pull request #940 from poixen/token_pt_fix
Fixed token PT issue for #931
This commit is contained in:
commit
19e86c61f0
1 changed files with 3 additions and 3 deletions
|
@ -990,14 +990,14 @@ void Player::actCreateToken()
|
|||
DlgCreateToken dlg(predefinedTokens);
|
||||
if (!dlg.exec())
|
||||
return;
|
||||
|
||||
|
||||
lastTokenName = dlg.getName();
|
||||
lastTokenPT = dlg.getPT();
|
||||
if (CardInfo *correctedCard = db->getCardBySimpleName(lastTokenName, false)) {
|
||||
lastTokenName = correctedCard->getName();
|
||||
lastTokenPT = correctedCard->getPowTough();
|
||||
}
|
||||
|
||||
lastTokenColor = dlg.getColor();
|
||||
lastTokenPT = dlg.getPT();
|
||||
lastTokenAnnotation = dlg.getAnnotation();
|
||||
lastTokenDestroy = dlg.getDestroy();
|
||||
aCreateAnotherToken->setEnabled(true);
|
||||
|
|
Loading…
Reference in a new issue