From a5b8c95068de00a47ee745fd2648dc64333cb4e5 Mon Sep 17 00:00:00 2001 From: RedRafe <93430988+RedRafe@users.noreply.github.com> Date: Tue, 16 Sep 2025 06:09:51 +0200 Subject: [PATCH] Fix restart command ore count (#1502) --- map_gen/maps/danger_ores/modules/restart_command.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map_gen/maps/danger_ores/modules/restart_command.lua b/map_gen/maps/danger_ores/modules/restart_command.lua index 76a1bb82..1e96a923 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