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

This subforum contains all the issues which we already resolved.
Post Reply
mulark
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Oct 18, 2017 11:32 pm
Contact:

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

Post 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}}

Rseding91
Factorio Staff
Factorio Staff
Posts: 12215
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”