diff --git a/map_gen/maps/danger_ores/modules/restart_command.lua b/map_gen/maps/danger_ores/modules/restart_command.lua index 76a1bb824..1e96a923c 100644 --- a/map_gen/maps/danger_ores/modules/restart_command.lua +++ b/map_gen/maps/danger_ores/modules/restart_command.lua @@ -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