diff --git a/cockatrice/src/player.cpp b/cockatrice/src/player.cpp index a7971fc2..bb69a774 100644 --- a/cockatrice/src/player.cpp +++ b/cockatrice/src/player.cpp @@ -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);