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:
parent
f5fde1abef
commit
41c89a0ca8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user