mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 18:32:17 -07:00
remove PriorityUndefined and set PriorityFallback to 0
This commit is contained in:
parent
e3ff785db7
commit
35f36364e9
3 changed files with 5 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ CardSet::Priority OracleImporter::getSetPriority(QString &setType, QString &shor
|
|||
if (!setTypePriorities.contains(setType.toLower())) {
|
||||
qDebug() << "warning: Set type" << setType << "unrecognized for prioritization";
|
||||
}
|
||||
CardSet::Priority priority = setTypePriorities.value(setType.toLower(), CardSet::PriorityUndefined);
|
||||
CardSet::Priority priority = setTypePriorities.value(setType.toLower(), CardSet::PriorityFallback);
|
||||
if (nonEnglishSets.contains(shortName)) {
|
||||
priority = CardSet::PriorityLowest;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue