From 34362d48eb695fd41d243755f2cad06e3d337bac Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:49:31 +0200 Subject: [PATCH] Grenades - Fix incendiary grenades damaging invulnerable objects (#10068) Disable damage from incendiaries when object is invulnerable --- addons/grenades/functions/fnc_incendiary.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/grenades/functions/fnc_incendiary.sqf b/addons/grenades/functions/fnc_incendiary.sqf index 337065cae3..f0c2effac3 100644 --- a/addons/grenades/functions/fnc_incendiary.sqf +++ b/addons/grenades/functions/fnc_incendiary.sqf @@ -183,7 +183,7 @@ if (isServer) then { // --- damage { - if (local _x) then { + if (local _x && {isDamageAllowed _x}) then { //systemChat format ["burn: %1", _x]; // --- destroy nearby static weapons and ammo boxes