Hello! I'm running into a Non-recoverable error after trying to start a new scenario from a previously map edited save game. The mod ran just fine in the save game but after editing it a bit in the map editor, the edited savegame scenario now crashes instantly with the following error:
Error while running event modmashsplinterunderground::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
...splinterunderground/prototypes/scripts/underground.lua:1339: in function 'local_stops_circuit_tick'
...splinterunderground__/prototypes/scripts/underground.lua:1388: in function <...splinterunderground__/prototypes/scripts/underground.lua:1384>
I only made small edits on the underground level with the editor and I'm not using subways or signals underground as of yet, simply added some shafts and carved some tunnels with couple pieces of rail. I also removed some tunnels made by the biters by using the out of map tile but erasing stuff with that surface tile type has worked before just fine without crashes.