mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Grenades - Fix incendiary grenades damaging invulnerable objects (#10068)
Disable damage from incendiaries when object is invulnerable
This commit is contained in:
parent
d4d69b9141
commit
34362d48eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user