From 41c89a0ca881eb3e3d6cc9e54f2aed313559c2ad Mon Sep 17 00:00:00 2001 From: grilledham Date: Sat, 19 Jan 2019 10:40:35 +0000 Subject: [PATCH] fixed enemy hidden-electric-energy-interface being destructible --- map_gen/presets/crash_site/outpost_builder.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/map_gen/presets/crash_site/outpost_builder.lua b/map_gen/presets/crash_site/outpost_builder.lua index d7f607e5..4307b1a0 100644 --- a/map_gen/presets/crash_site/outpost_builder.lua +++ b/map_gen/presets/crash_site/outpost_builder.lua @@ -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