Skip to content

Commit

Permalink
Grenades - Fix incendiary grenades damaging invulnerable objects (#10068
Browse files Browse the repository at this point in the history
)

Disable damage from incendiaries when object is invulnerable
  • Loading branch information
johnb432 authored Jun 13, 2024
1 parent d4d69b9 commit 34362d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/grenades/functions/fnc_incendiary.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34362d4

Please sign in to comment.