auticus / BattleTechTracking

UWP, Android, and iOS project for tracking a BattleTech campaign.
0 stars 0 forks source link

Json Converter brings in duplicates #4

Closed auticus closed 2 years ago

auticus commented 2 years ago

All TrackedGameElement objects coming in from the json duplicate themselves.

If I have 8 unit components, it saves properly but then when it loads them in it makes it 16. This is likely due to having to tell it to include types because of interfaces being used and it doesn't know what object to turn them into.

This currently breaks save functionality.