Page 1 of 1

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

Posted: Mon Nov 17, 2014 1:54 pm
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

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

Posted: Tue Nov 25, 2014 10:47 am
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.