autocrafting count fix

This commit is contained in:
kepler155c
2018-03-04 13:12:14 -05:00
parent a77c2f6ea0
commit b2ba4b272d

View File

@@ -552,8 +552,8 @@ local function getAutocraftItems()
local craftList = { }
for _,res in pairs(resources) do
if res.auto then
res = Util.shallowCopy(res)
res.count = 256 -- this could be higher to increase autocrafting speed
local key = uniqueKey(res)
craftList[key] = res