1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

fixed enemy hidden-electric-energy-interface being destructible

This commit is contained in:
grilledham 2019-01-19 10:40:35 +00:00
parent f5fde1abef
commit 41c89a0ca8

View File

@ -962,6 +962,7 @@ Public.power_source_callback =
entity.surface.create_entity {name = 'hidden-electric-energy-interface', position = entity.position}
power_source.electric_buffer_size = data.buffer_size
power_source.power_production = data.power_production
power_source.destructible = false
power_sources[entity.unit_number] = power_source
end
@ -974,6 +975,7 @@ Public.power_source_player_callback =
entity.surface.create_entity {name = 'hidden-electric-energy-interface', position = entity.position}
power_source.electric_buffer_size = data.buffer_size
power_source.power_production = data.power_production
power_source.destructible = false
power_sources[entity.unit_number] = power_source