[Rseding91] [0.17.32] Entity.clone() doesn't preserve circuit connection to itself
Posted: Sat Apr 20, 2019 1:55 pm
If you wire a decider/arithmetic combinator to itself, and then clone it, it does not clone that circuit connection.
If you instead use clone_entities(), it does clone that connection.
Code: Select all
/c game.player.selected.clone{position={-10.5, 21}}
Code: Select all
/c game.player.surface.clone_entities{entities={game.player.selected}, destination_offset={x=1,y=1}}