[0.12.26] API: set_request_slot documentation incorrect

This subforum contains all the issues which we already resolved.
Supercheese
Filter Inserter
Filter Inserter
Posts: 841
Joined: Mon Sep 14, 2015 7:40 am
Contact:

[0.12.26] API: set_request_slot documentation incorrect

Post by Supercheese »

In Factorio's lua modding API, the documentation for set_request_slot states:

Code: Select all

set_request_slot(slot, request)

Set a logistic requester slot.
Parameters
slot :: uint: The slot index.
request :: LuaItemStack: What to request.
Note: Useable only on entities that have requester slots.
However, testing reveals that the order of the arguments is backwards; the proper order is: request,slot
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.26] API: set_request_slot documentation incorrect

Post by Oxyd »

You are right. :) Fixed in the 0.12.27 documentation, thanks.
Post Reply

Return to “Resolved Problems and Bugs”