[0.11.3][kovarex] luainventory.clear() and circuit network

This subforum contains all the issues which we already resolved.
Kikkers
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sun Jun 22, 2014 8:45 pm
Contact:

[0.11.3][kovarex] luainventory.clear() and circuit network

Post by Kikkers »

Someone using my mod encountered an issue that seems to come from the inventory.clear() function used on chests of the type "smart-chest".

While the function clears all items from the inventory, the red network (probably green too) does not show the items missing. I'm unsure whether or not this happens with logistic chests as well.


It's fixed in the mod as I now use .remove(...) (on each item inside) instead of .clear() , but other people might encounter it regardless.
Link to the mod thread with an interesting result: https://forums.factorio.com/forum/vie ... =30#p52629
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.3][kovarex] luainventory.clear() and circuit netwo

Post by kovarex »

Thank you for the report.

The bug is fixed for 0.11.4 and there is now (as always) automated test of this situation.
Post Reply

Return to “Resolved Problems and Bugs”