Enemies with AoE damage effects (Vanilla Worms, Explosive Biters, Frost Biters) can destroy the Circuit Relay entity. This alone doesn't cause the game to crash, but when another radar is placed I receive this crash.
Error while running event fff-402-radars::on_built_entity (ID 6)
fff-402-radars/control.lua:18: the surface's radar circuit relay got
invalidated, what happened?
stack traceback:
[C]: in function 'error'
fff-402-radars/control.lua:18: in function
<fff-402-radars/control.lua:10>
A workaround to avoid this crash. If a radar's circuit relay gets destroyed, save the game, remove the mod, load the game, save, then add the mod once and that should avoid a crash till the next time a circuit relay gets destroyed.
(P.S. thank you for the mod, been looking for a good wireless circuit signal mod for a while and besides this rare crash , it's been great :D)