Closed zeel01 closed 4 years ago
It would appear that deck
becomes undefined after a page refresh in all cases. Even just importing the deck, then reloading, results in the deck no longer functioning.
Zeel, we are hoping that this was fixed with a recent update. I haven't been able to reproduce this behavior recently any longer.
Can you confirm whether or not you are still seeing this? Thanks!!
Can not confirm in recent testing, closing.
Yes, this seems to be resolved now. The multiple folders called "Decks" problem seems to have been the root cause.
In some situations, all basic functions of the deck are lost completely. It seems that while some functions seem to fail without errors being thrown, if you reload the game they will begin to throw errors.
Discard: Error happens without refresh
Post refresh:
Draw: Draw dialog opens, but after choosing "take cards" this error is thrown
View discard pile
Reset
Shuffle
View Deck
Additional info
At this point as well, having refreshed the page, the "Discard" button no longer functions at all (no error), and doesn't appear to have an event listener attached. The "hand" persists, the cards can be flipped, played to the table, returned from the table to hand, reordered, etc.
But the deck is totally broken. Deleting the deck from the scene, and dropping it on again from the Journal doesn't fix it, in fact it can not be dropped onto the scene again. Doing so does output a log:
However nothing appears in the scene.
The only remedy is to delete the journal folder for the deck, and re-import it. However the issue returns later.