Remove null projectiles from iron dome nonTrackingProjectiles

This commit is contained in:
SzwedzikPL 2022-07-25 06:46:54 +02:00
parent a79f987dab
commit 743add1aa4

View File

@ -41,6 +41,8 @@ if (_idleLaunchers isNotEqualTo []) then {
GVAR(nonTrackingProjectiles) = GVAR(nonTrackingProjectiles) select {
private _projectile = _x;
if (isNull _projectile) then {continueWith false};
private _keep = true;
private _bestRange = 1e10;