1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-11 13:39:14 +02:00

Fixed empty fluid storage bug

This commit is contained in:
Piratux 2022-06-07 21:58:36 +03:00
parent 6236eec4d1
commit fd205f2647

View File

@ -118,7 +118,7 @@ function Public.configure_structure_entities(special_name, components)
e.insert_fluid(Loot.storage_tank_fluid_loot('crude-oil'))
elseif e.name == 'storage-tank' and special_name == 'small_abandoned_refinery' then
e.insert_fluid(Loot.storage_tank_fluid_loot('petroleum-gas'))
elseif e.name == 'storage-tank' and (not special_name == 'small_radioactive_reactor') then
elseif e.name == 'storage-tank' and (not (special_name == 'small_radioactive_reactor')) then
e.insert_fluid(Loot.storage_tank_fluid_loot())
elseif (special_name == 'maze_labs') and e.name == 'lab' then
local inv = e.get_inventory(defines.inventory.lab_input)