Sorry, we don't support your browser.  Install a modern browser

Flag (toggle) is inconsistently inherited#1817

Some odd behavior I have observed while working with cards that have buttons on their card back and therefore require the ‘Hide Face Down’ flag to be set to false:

To Reproduce:

  1. Make a deck of cards
  2. Make sure ‘Hide Face Down’-Flag is set to ‘true’
  3. Take 2 cards from the deck.
  4. Set ‘Hide Face Down’ for both cards to ‘false’
  5. Put both back on top of the deck
  6. Take the top card from the deck by pulling it from the top the normal way
  7. Take the top card from the deck using the search function

Result: The card taken in step 6 will have its ‘Hide Face Down’ Flag set to ‘false’ the card taken in step 7 will have its ‘Hide Face Down’ Flag set to ‘true’ .

Note: I can’t tell which one is the intended behavior (personally I think they should both be set to ‘false’), but the fact that the two methods of drawing a card yield different results has to be a bug.

Edit: Also found out later that changing a card’s image and updating the object always sets the ‘Hide Face Down’ flag to true. Not sure if that’s intentional but I’m pretty sure it shouldn’t be.

2 years ago
Changed the status to
Research
2 years ago