Sebaestschjin / gloomhaven-campaign-manager

Simplify the management of your Gloomhaven campaign progress in Tabletop Simulator.
MIT License
7 stars 5 forks source link

Removing all cards from decks won't work for all decks #41

Closed Sebaestschjin closed 4 years ago

Sebaestschjin commented 4 years ago

For some decks it's not yet possible to draw all cards. Due to timing, the deck will be gone when there's only one card left. The deck.remainder has to be used. Would be cool, if that can be wrapped so that the special handling doesn't have to be included in all functions dealing with the decks.

Sebaestschjin commented 4 years ago

Fixed with 48d72c4e783cb3a38e4de56984a5bfbbc9813996