1
0
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:
RedRafe
2025-09-16 06:09:51 +02:00
committed by GitHub
parent e3341469fc
commit a5b8c95068

View File

@@ -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