reverted #163
This commit is contained in:
parent
f95fe57c1b
commit
aed20324da
1 changed files with 0 additions and 6 deletions
|
@ -187,11 +187,6 @@ int OracleImporter::importTextSpoiler(CardSet *set, const QVariant &data)
|
||||||
colors.clear();
|
colors.clear();
|
||||||
extractColors(map.value("colors").toStringList(), colors);
|
extractColors(map.value("colors").toStringList(), colors);
|
||||||
|
|
||||||
// Distinguish Vanguard cards from regular cards of the same name.
|
|
||||||
if (map.value("layout") == "vanguard") {
|
|
||||||
cardName += " Avatar";
|
|
||||||
}
|
|
||||||
|
|
||||||
CardInfo *card = addCard(set->getShortName(), cardName, false, cardId, cardCost, cmc, cardType, cardPT, cardLoyalty, cardText, colors, relatedCards, upsideDown);
|
CardInfo *card = addCard(set->getShortName(), cardName, false, cardId, cardCost, cmc, cardType, cardPT, cardLoyalty, cardText, colors, relatedCards, upsideDown);
|
||||||
|
|
||||||
if (!set->contains(card)) {
|
if (!set->contains(card)) {
|
||||||
|
@ -206,7 +201,6 @@ int OracleImporter::importTextSpoiler(CardSet *set, const QVariant &data)
|
||||||
{
|
{
|
||||||
// get all cards for this specific muid
|
// get all cards for this specific muid
|
||||||
QList<QVariantMap> maps = splitCards.values(muid);
|
QList<QVariantMap> maps = splitCards.values(muid);
|
||||||
// get all the card names in the correct order
|
|
||||||
QStringList names;
|
QStringList names;
|
||||||
// now, reorder the cards using the ordered list of names
|
// now, reorder the cards using the ordered list of names
|
||||||
QMap<int, QVariantMap> orderedMaps;
|
QMap<int, QVariantMap> orderedMaps;
|
||||||
|
|
Loading…
Reference in a new issue