Hi, I was using version 0.2.1, when update to 0.2.4, I couldn't load my save game.
Error while running event Repair_Turret::on_configuration_changed
LuaEntity API call when LuaEntity was invalid.
stack traceback:
Repair_Turret/script/repair_turret.lua:35: in function 'add_to_repair_queue'
Repair_Turret/script/repair_turret.lua:533: in function 'on_configuration_changed'
core/lualib/event_handler.lua:82: in function <core/lualib/event_handler.lua:79>
stack traceback:
[C]: in function 'index'
__Repair_Turret/script/repair_turret.lua:35: in function 'add_to_repair_queue'
Repair_Turret/script/repair_turret.lua:533: in function 'on_configuration_changed'
core/lualib/event_handler.lua:82: in function <core/lualib/event_handler.lua:79>
I've temporarly fixed it adding on repair_turret.lua line 34:
if not entity.valid then return end
Save if you need