Page 1 of 1

[0.16.51] Crash when assembling-machine has wrong direction.

Posted: Tue Jul 24, 2018 12:14 pm
by eradicator
Accidentially applied a wrong direction to a refinery. Setting it works "fine" until the player moves.

Expected behavior:
Refinery should be rotated to "north" instead of "northwest"? (i.e. clockwise autocorrect)

Simplified example code:

Code: Select all

refinery.direction = defines.direction.northwest
wrongdirection.jpg
wrongdirection.jpg (54.67 KiB) Viewed 2736 times

Re: [0.16.51] Crash when assembling-machine has wrong direction.

Posted: Tue Jul 24, 2018 2:39 pm
by Bilka
Thanks for the report, fixed for 0.17.

Re: [0.16.51] Crash when assembling-machine has wrong direction.

Posted: Tue Jul 24, 2018 2:44 pm
by eradicator
Bilka wrote:Thanks for the report, fixed for 0.17.
Didn't expect you'd been assigned to bug fixing duties. Thanks ;).