From 447c232317aa5e77e8732ae3ace436b02ff220af Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Sun, 14 Nov 2021 22:08:53 +0100 Subject: [PATCH] minor fix --- modules/biter_health_booster_v2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/biter_health_booster_v2.lua b/modules/biter_health_booster_v2.lua index fb125219..ea826d2f 100644 --- a/modules/biter_health_booster_v2.lua +++ b/modules/biter_health_booster_v2.lua @@ -249,7 +249,7 @@ local function extra_projectiles(cause, target) local biter_health_boost_units = this.biter_health_boost_units local cause_unit_number = cause.unit_number local cause_health_pool = biter_health_boost_units[cause_unit_number] - if cause_health_pool and cause_health_pool[3] and entity_types[cause.type] then + if cause_health_pool and cause_health_pool[3] and cause_health_pool[3].healthbar_id and entity_types[cause.type] then if this.acid_nova then if acid_lines[cause.name] then if not this.acid_lines_delay[cause_unit_number] then