[1.1.69] Electric pole ghost does not respect draw_copper_wires=false
Posted: Sun Oct 16, 2022 7:32 am
What
When setting draw_copper_wires=false on an electric pole prototype the setting is ignored when placing ghosts.On the left is a pole-in-cursor, in the middle is an actual pole entity, and on the right is a pole ghost. Notice how there is a copper wire drawn only to the ghost.
This behaviour is exactly the same for `draw_circuit_wires`.
Expected Behaviour
When setting `draw_copper_wires=false` that the pole will never have copper wires drawn to it, even when it's a ghost.Reproduction
- Change the prototype of any electric pole to include `draw_copper_wires = false`
- Place an entity, and then observe no copper wire drawn between the placed pole and your cursor.
- Shift-click to place a ghost close to the entity, and now notice how there's a copper wire drawn between the two.