Repair Turret

by Klonan

Adds Repair Turrets

Content
1 year, 3 months ago
0.17 - 1.1
85.0K
Combat Logistic network

g Non-recoverable error on version 0.4.2

4 years ago

The mod Repair Turret (0.4.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Repair_Turret::on_tick (ID 0)
Repair_Turret/script/repair_turret.lua:431: attempt to perform arithmetic on field 'speed' (a nil value)
stack traceback:
Repair_Turret/script/repair_turret.lua:431: in function 'repair_entity'
Repair_Turret/script/repair_turret.lua:747: in function 'update_turret'
Repair_Turret/script/repair_turret.lua:847: in function 'check_turret_update'
Repair_Turret/script/repair_turret.lua:950: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

Let me know if you need more information.

4 years ago

I still don't really know how it happens. I added a safety check against this in the latest update

4 years ago

Added safety check resolved issue. Thanks.

New response