mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-09-16 09:16:22 +02:00
Fix restart command ore count (#1502)
This commit is contained in:
@@ -136,7 +136,7 @@ return function(config)
|
||||
local ore_products = {}
|
||||
for _, ore_prototype in pairs(resource_prototypes) do
|
||||
local mineable_properties = ore_prototype.mineable_properties
|
||||
if mineable_properties.minable_flag and ore_prototype.resource_category == 'basic-solid' then
|
||||
if mineable_properties.minable and ore_prototype.resource_category == 'basic-solid' then
|
||||
for _, product in pairs(mineable_properties.products) do
|
||||
ore_products[product.name] = true
|
||||
end
|
||||
|
Reference in New Issue
Block a user