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

This subforum contains all the issues which we already resolved.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

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

Post 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 3040 times
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Thanks for the report, fixed for 0.17.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

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

Post by eradicator »

Bilka wrote:Thanks for the report, fixed for 0.17.
Didn't expect you'd been assigned to bug fixing duties. Thanks ;).
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Post Reply

Return to “Resolved Problems and Bugs”