I've discovered a bug with deck loading/saving.  The problem results
in some items being loaded to the wrong location (not the deck).  It's
quite easy to replicate.

1. Load the bug.mod (can be downloaded here:
http://gijoetcg-vassal.googlecode.com/files/bug.mod)
2. Choose player "One"
3. Click on Pieces to bring up the piece palette
4. Drag 5 cards from the piece palette to the deck on the window called "Hand"
5. Right-click on the deck and choose save (call this test1)
6. Drag 2 cards from this deck to the main map window
7. Drag those same two cards back to the deck
8. Right-click on the deck and choose save (call this test2)

>From here you'll notice whenever you load test1 the load will work
properly, but whenever you load test2 the load will put two of the
cards onto the table (the ones that were originally on there).  When
you compare the contents of test1 and test2 the problem becomes
apparent.  The improperly loading pieces seem to list their location
as Main Map.

I do not have the time to attempt to fix this myself, but I'm guessing
anyone familiar with the code should be able to track it down easily.

Cheers

-Tim

Reply via email to