mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-22 23:26:14 -08:00
reverted #163
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user