This commit is contained in:
RickyRister 2025-07-15 02:41:49 -07:00
parent e2a6fc581b
commit 63b8540ea7

View file

@ -198,7 +198,7 @@ CardInfoPtr CardDatabase::getCardBySimpleName(const QString &cardName) const
*/
CardInfoPtr CardDatabase::guessCard(const CardRef &cardRef) const
{
CardInfoPtr temp = cardRef.providerId.isEmpty() ? getCardInfo(cardRef.name) : getCard(cardRef);
CardInfoPtr temp = getCard(cardRef);
if (temp == nullptr) { // get card by simple name instead
temp = getCardBySimpleName(cardRef.name);