mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-23 23:33:12 +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.production = properties.production + prod
|
||||||
properties.total_production = properties.total_production + prod
|
properties.total_production = properties.total_production + prod
|
||||||
end
|
end
|
||||||
for _, v in {'input_limit', 'output_limit', 'capacity'} do
|
for _, v in pairs({'input_limit', 'output_limit', 'capacity'}) do
|
||||||
if item[v] then
|
if item[v] then
|
||||||
properties[v] = properties[v] + item[v][quality_level] * count
|
properties[v] = properties[v] + item[v][quality_level] * count
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user