make sure no //es are added to maintypes (#4017)
This commit is contained in:
parent
28f3229a0e
commit
53c6440cac
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
|
||||||
if (originalPropertyValue != thisCardPropertyValue) {
|
if (originalPropertyValue != thisCardPropertyValue) {
|
||||||
if (prop == "colors") {
|
if (prop == "colors") {
|
||||||
properties.insert(prop, originalPropertyValue + thisCardPropertyValue);
|
properties.insert(prop, originalPropertyValue + thisCardPropertyValue);
|
||||||
} else if (prop == "maintype" && layout == "adventure") {
|
} else if (prop == "maintype") { // don't create maintypes with //es in them
|
||||||
properties.insert(prop, originalPropertyValue);
|
properties.insert(prop, originalPropertyValue);
|
||||||
} else {
|
} else {
|
||||||
properties.insert(prop,
|
properties.insert(prop,
|
||||||
|
|
Loading…
Reference in a new issue