Found a veeeery problematic behaviour in the defenders, the steps to reproduce are this:
- deploy some defenders
- travel to another surface/planet
- deploy more defenders
- use remote view
- activate the "follow player" mode via shortcut
- use remote view to inspect the other surface/planet
Now the defenders will start reacting to the player position change EVEN when this is in another surface.
Looking at the code, the use of the player "surface" property is the problem, as this property can change when using remote view. Looking at Factorio's modding API, the use of "physical_surface" could resolve this, as well as the other "physical_*" properties.
I almost ran into a biter nest using the bots when looking for a insland in fulgora xd