From 90a0a4fd01c5b788a6ab1b6f2b98c66834aa08a0 Mon Sep 17 00:00:00 2001 From: RedRafe Date: Tue, 16 Sep 2025 06:09:07 +0200 Subject: [PATCH] Fix restart command for good --- 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 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