[1.1.101] Ghost poles have copper wires in circuit_connection_definitions
Posted: Sun Feb 04, 2024 6:10 am
Electric poles ghosts include copper cable connections in circuit_connection_definitions :: array[CircuitConnectionDefinition]? which should contain only elements with defines.wire_type.red or defines.wire_type.green.
The same copper connections are also listed in copper_connection_definitions.
Reproduction steps:
The same copper connections are also listed in copper_connection_definitions.
Reproduction steps:
- Create a new Freeplay.
- Ghost-place two electric poles near each other.
- Run the console command: /c game.print(#game.player.selected.circuit_connection_definitions)
- The output will be: 1
- After reviving the ghosts, the output will be: 0