make sure no //es are added to maintypes (#4017)

This commit is contained in:
ebbit1q 2020-06-02 16:55:05 +02:00 committed by GitHub
parent 28f3229a0e
commit 53c6440cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,7 +392,7 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
if (originalPropertyValue != thisCardPropertyValue) {
if (prop == "colors") {
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);
} else {
properties.insert(prop,