Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ebbit1q authored and knitknit committed Jan 2, 2021
1 parent f533e6c commit f5a54e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions oracle/src/oracleimporter.cpp
Expand Up @@ -160,11 +160,8 @@ CardInfoPtr OracleImporter::addCard(QString name,
properties.insert("side", side);

// upsideDown (flip cards)
bool upsideDown = false;
QString layout = properties.value("layout").toString();
if (layout == "flip") {
upsideDown = properties.value("side").toString() != "a";
}
bool upsideDown = layout == "flip" && side == "back";

// insert the card and its properties
QList<CardRelation *> reverseRelatedCards;
Expand Down

0 comments on commit f5a54e0

Please sign in to comment.