1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-28 23:06:38 +02:00

luacheck fix

This commit is contained in:
hanakocz 2023-01-10 00:28:16 +01:00
parent d111f60da7
commit 09db938609

View File

@ -1675,7 +1675,7 @@ local function process_explosion_tile(pos, explosion_index, current_radius)
end
global.explosion_schedule[explosion_index].damage_remaining = global.explosion_schedule[explosion_index].damage_remaining - entity.health
entity.damage(999999, 'player', 'explosion')
else
else
global.explosion_schedule[explosion_index].damage_remaining = global.explosion_schedule[explosion_index].damage_remaining - entity.health
entity.damage(global.explosion_schedule[explosion_index].damage_remaining, 'player', 'explosion')
end