EarendelDevelopers / factorio-mods

This is a public repository for tracking issues with Earendel's factorio mods.
19 stars 3 forks source link

Beam emitters can remake deleted surfaces #169

Closed InappropriatePenguin closed 6 months ago

InappropriatePenguin commented 2 years ago

If a surface is targeted by a beam emitter and is subsequently deleted, the emitter will remake the surface.

I can't think of an instance where we would it want it to do that. We should make beam emitters use Zone.get_surface instead of Zone.get_make_surface and they should turn themselves off (and maybe delete their target coordinate variable) if no surface is returned.

This probably also affects logistic/weapon delivery cannons.