Page 1 of 1

[Rseding91] [0.17.32] Entity.clone() doesn't preserve circuit connection to itself

Posted: Sat Apr 20, 2019 1:55 pm
by mulark
If you wire a decider/arithmetic combinator to itself, and then clone it, it does not clone that circuit connection.

Code: Select all

/c game.player.selected.clone{position={-10.5, 21}}
If you instead use clone_entities(), it does clone that connection.

Code: Select all

/c game.player.surface.clone_entities{entities={game.player.selected}, destination_offset={x=1,y=1}}

Re: [0.17.32] Entity.clone() doesn't preserve circuit connection to itself

Posted: Wed Apr 24, 2019 6:48 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17.