Arsenal - Don't warn when calling removeUnitTrackProjectiles (#6574)

This commit is contained in:
PabstMirror 2018-09-14 23:58:28 -05:00 committed by GitHub
parent 3ee94d3aca
commit ae6a2709f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,9 @@ cba_diagnostic_projectileMaxLines = 10;
_x hideObject true;
} forEach (allMissionObjects "" - [_player]);
_player call CBA_fnc_removeUnitTrackProjectiles;
if ((_player getVariable ["cba_projectile_firedEhId", -1]) != -1) then {
_player call CBA_fnc_removeUnitTrackProjectiles;
};
_player setFatigue 0;
// Esc to close mission