From 09db9386094e2f3b4e1226a0ded1af8dbd865814 Mon Sep 17 00:00:00 2001 From: hanakocz Date: Tue, 10 Jan 2023 00:28:16 +0100 Subject: [PATCH] luacheck fix --- maps/cave_miner_kaboomsticks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maps/cave_miner_kaboomsticks.lua b/maps/cave_miner_kaboomsticks.lua index 44811d91..96a3a6f8 100644 --- a/maps/cave_miner_kaboomsticks.lua +++ b/maps/cave_miner_kaboomsticks.lua @@ -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