Laser Fence


Use Laser Fence technology developed during the Tiberium Wars to fend off biters.

Content
3 days ago
1.1 - 2.0
20.1K
Combat

b [Fixed] error after a nuclear missile hit a pillar

2 years ago

Hello)
while testing the mod, I accidentally stumbled upon a funny mistake:

error after a nuclear missile hit a pillar:
Мод Laser Fence (1.1.3) :
Error while running event laserfence::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__laserfence
/scripts/CnC_Walls.lua:285: in function 'CnC_SonicWall_OnTick'
laserfence/control.lua:107: in function <laserfence/control.lua:105>

2 years ago

I was able to repeat it only 1 time

2 years ago

I couldn't replicate this specific issue, but I've added some additional safety checks in 1.1.4 to prevent this going forward.

New response