mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +02:00
Fix bug in autodeconstruct. (#1343)
- Handle case where mineable_properties is nil.
This commit is contained in:
parent
5ba0ba94a0
commit
fb534a436a
@ -40,7 +40,7 @@ Global.register_init(
|
||||
fluid_ores[name] = true
|
||||
end
|
||||
|
||||
local products = props.products
|
||||
local products = props.products or {}
|
||||
for i = 1, #products do
|
||||
local product = products[i]
|
||||
if product.type == 'fluid' then
|
||||
|
Loading…
x
Reference in New Issue
Block a user