From 32b7ef7b8560c0a9f227bebc82f39ef3936891fc Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 17 Sep 2016 13:09:03 -0500 Subject: [PATCH] Skip incindinary effects if projectile is null --- addons/grenades/functions/fnc_incendiary.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/grenades/functions/fnc_incendiary.sqf b/addons/grenades/functions/fnc_incendiary.sqf index b12d4169bb..c143a3c63f 100644 --- a/addons/grenades/functions/fnc_incendiary.sqf +++ b/addons/grenades/functions/fnc_incendiary.sqf @@ -34,6 +34,8 @@ params ["_projectile", "_timeToLive"]; +if (isNull _projectile) exitWith {TRACE_1("null",_projectile);}; + private _position = position _projectile; // --- fire