mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4 from SzwedzikPL/irondome-cleanupprojectiles
Remove null projectiles from iron dome nonTrackingProjectiles
This commit is contained in:
commit
6aba4b041d
@ -41,6 +41,8 @@ if (_idleLaunchers isNotEqualTo []) then {
|
|||||||
|
|
||||||
GVAR(nonTrackingProjectiles) = GVAR(nonTrackingProjectiles) select {
|
GVAR(nonTrackingProjectiles) = GVAR(nonTrackingProjectiles) select {
|
||||||
private _projectile = _x;
|
private _projectile = _x;
|
||||||
|
if (isNull _projectile) then {continueWith false};
|
||||||
|
|
||||||
private _keep = true;
|
private _keep = true;
|
||||||
private _bestRange = 1e10;
|
private _bestRange = 1e10;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user