mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 00:24:52 +09:00
pair
This commit is contained in:
1 parent
1bd0bf9296
commit
7a1a31c880
1 file changed
+1
-1
@@ -342,7 +342,7 @@ local function allocate_item(s_index, name, count, quality_level)
|
||||
properties.production = properties.production + prod
|
||||
properties.total_production = properties.total_production + prod
|
||||
end
|
||||
for _, v in {'input_limit', 'output_limit', 'capacity'} do
|
||||
for _, v in pairs({'input_limit', 'output_limit', 'capacity'}) do
|
||||
if item[v] then
|
||||
properties[v] = properties[v] + item[v][quality_level] * count
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user