mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-11 12:33:25 -08:00
Fix signatures
This commit is contained in:
parent
598da954fc
commit
d8213088e4
66 changed files with 143 additions and 132 deletions
|
|
@ -162,7 +162,7 @@ void PlayerEventHandler::eventCreateToken(const Event_CreateToken &event)
|
|||
// use db PT if not provided in event and not face-down
|
||||
QString pt = QString::fromStdString(event.pt());
|
||||
if (pt.isEmpty() && !event.face_down()) {
|
||||
ExactCard dbCard = CardDatabaseManager::query()->getCard(cardRef);
|
||||
ExactCard dbCard = CardDatabaseManager::query().getCard(cardRef);
|
||||
if (dbCard) {
|
||||
pt = dbCard.getInfo().getPowTough();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue