Commit 30949411 authored by Waleed Khan's avatar Waleed Khan
Browse files

Fix #248: the token dialog generates cards irrespective of their case and punctation.

parent ffed0e00
......@@ -959,6 +959,10 @@ void Player::actCreateToken()
return;
lastTokenName = dlg.getName();
if (CardInfo *correctedCard = db->getCardBySimpleName(lastTokenName, false)) {
lastTokenName = correctedCard->getName();
}
lastTokenColor = dlg.getColor();
lastTokenPT = dlg.getPT();
lastTokenAnnotation = dlg.getAnnotation();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment