Skip to content

Commit a5b8c95

Browse files
authored
Fix restart command ore count (#1502)
1 parent e334146 commit a5b8c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

map_gen/maps/danger_ores/modules/restart_command.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ return function(config)
136136
local ore_products = {}
137137
for _, ore_prototype in pairs(resource_prototypes) do
138138
local mineable_properties = ore_prototype.mineable_properties
139-
if mineable_properties.minable_flag and ore_prototype.resource_category == 'basic-solid' then
139+
if mineable_properties.minable and ore_prototype.resource_category == 'basic-solid' then
140140
for _, product in pairs(mineable_properties.products) do
141141
ore_products[product.name] = true
142142
end

0 commit comments

Comments
 (0)