maxmods / brl.mod

BlitzMax's BRL modules, patched and updated.
4 stars 3 forks source link

StringMap - Peristence.mod - error #19

Open GWRon opened 6 years ago

GWRon commented 6 years ago

I just replaced TPeristence's Field objectMap:TMap to use TStringMap.

When now loading in a savegame of my game I get one of the Reference not mapped yet-errors thrown. Did I miss to change something? Reverting back to TMap = new TMap and loading is successful.

GWRon commented 6 years ago

Using TPersistence with a TStringMap to serialize stuff, works - unserializing throws the error. Unserializing with TMap works too.