[Rseding91] [1.0.0] Savefile corrupts if invalid LuaItemStack is in global table
Posted: Thu Sep 10, 2020 5:14 am
I found a case that allows save without warning but making cannot load the save again.
Reproduce :
- Download scenario and upzip in scenario folder to play it.
- It's writing some LuaObjects caught in event, in global table. Currently only LuaItemStack is written.
- Place a wooden-chest and save it. (Will cause on_built_entity having stack = LuaItemStack as temporary object)
- Try to load it.