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

mtn v3 - small fix

This commit is contained in:
Gerkiz 2022-07-13 22:48:23 +02:00
parent 665a4d5d4a
commit 0d99f0162a

View File

@ -202,9 +202,6 @@ local function hurt_players_outside_of_aura()
for _, piece in pairs(equip) do for _, piece in pairs(equip) do
if piece.valid then if piece.valid then
piece.energy = 0 piece.energy = 0
if piece.shield and piece.shield.valid then
piece.shield = 0
end
end end
end end
entity.damage(1, 'enemy') entity.damage(1, 'enemy')