LuaControl::crafting_queue can be nil if nothing is currently crafting

root
Inserter
Inserter
Posts: 23
Joined: Fri May 06, 2016 8:58 pm
Contact:

LuaControl::crafting_queue can be nil if nothing is currently crafting

Post by root »

The documentation states that it returns an array, but if nothing is being crafted, it returns nil.
https://lua-api.factorio.com/stable/cla ... ting_queue
1.png
1.png (7.04 KiB) Viewed 138 times
2.png
2.png (7.08 KiB) Viewed 138 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3701
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaControl::crafting_queue can be nil if nothing is currently crafting

Post by Bilka »

Thanks for the note, doc updated for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”