[0.17.11] Entity.clone() doesn't preserve direction for barrel recipes

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

[0.17.11] Entity.clone() doesn't preserve direction for barrel recipes

Post by mulark » Wed Mar 13, 2019 2:43 am

Assemblers set to barrel/unbarrel fluids don't preserve their rotation after being cloned.

Make an asm, set the recipe to one of the barrel ones, and then rotate it. Hover over it and run this command:

Code: Select all

/c local sel= game.player.selected local clone = sel.clone({position = {sel.position.x, sel.position.y + 3}}) game.print(sel.direction) game.print(clone.direction)
Also happens with map editor clone. Not tested surface.clone_area() but it likely uses editor's cloning.

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

Re: [0.17.11] Entity.clone() doesn't preserve direction for barrel recipes

Post by Rseding91 » Wed Mar 13, 2019 12:14 pm

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”

Who is online

Users browsing this forum: No registered users