Grenades - Fix incendiary grenades damaging invulnerable objects (#10068)

Disable damage from incendiaries when object is invulnerable
This commit is contained in:
johnb432 2024-06-13 18:49:31 +02:00 committed by GitHub
parent d4d69b9141
commit 34362d48eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -183,7 +183,7 @@ if (isServer) then {
// --- damage // --- damage
{ {
if (local _x) then { if (local _x && {isDamageAllowed _x}) then {
//systemChat format ["burn: %1", _x]; //systemChat format ["burn: %1", _x];
// --- destroy nearby static weapons and ammo boxes // --- destroy nearby static weapons and ammo boxes