Postby LM280 » Thu Feb 15, 2018 5:26 pm
Not sure what causes it, but it seems like when using the data class it does not save or load data correctly under certain circumstances?
I'm using episode-wide, saveslot specific, encrypted instances of Data in lunaworld.lua, and I every time I set a value it is saved directly after.
100% of the time, in multiple different situations, if you exit from level A to level B via a warp, set a value, and then exit the level B to the world map, when you return to a level from the map, the value will be whatever value it was when you left level A.
Does anyone know either how to fix it, an alternative to the Data Class for episode-wide variables, or where I could find the code so I could look at it and maybe see what causes it?