Shield Generators


Adds turret shields and shield generators for civil structures.

Content
6 months ago
1.1
25.5K
Combat

b entity destroyed error

2 years ago
(updated 2 years ago)

The mod Shield Generators (0.1.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event shield-generators::on_entity_destroyed (ID 156)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__shield-generators
/control.lua:1375: in function 'on_destroyed'
shield-generators/control.lua:1501: in function <shield-generators/control.lua:1499>

Got this error while testing with Editor extensions. I was testing the Antimater bomb (fired from K2 Heavy rocket launcher) from Realistic Fusion Power with K2+SE and True nukes. Note if you do this test it well freeze the game for a while.

Edit it appears the problem is with the Editor extensions buildings.

2 years ago

problem here is on_destroyed being called in bulk

New response