Meowlala / BOIStageAPI15

Custom StageAPI 1.5 for the Binding of Isaac Repentance, allows creating stages that use the form of others.
The Unlicense
20 stars 32 forks source link

Fix vector persistence #180

Closed filloax closed 4 months ago

filloax commented 4 months ago

In the updated save system, vectors were saved as arrays, but since after the function a field containing the type was added, they were saved as dicts and couldn't be read back due to being read as having string indices by the JSON library ("1" and "2" instead of int 1 and 2).

Convert them to using X and Y keys to avoid this