Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
260 stars 25 forks source link

Fix save state crash #163

Closed griffi-gh closed 3 months ago

griffi-gh commented 3 months ago

closes... uhh this

fix saving state with lua script by adding bit32 to the ignore table

rollerozxa commented 3 months ago

From #development:

I'm testing #163 and I get this error when trying to open an old savefile now, while new savefiles work:

PANIC: unprotected error in call to Lua API (bad permanent value (no value))

(the old savefile worked to load in master)

griffi-gh commented 3 months ago

i have no idea why that breaks it but ok...