mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Optimized isNull check
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
This commit is contained in:
parent
ced7aeb50c
commit
7581a480eb
@ -30,7 +30,7 @@ if (!local _currentUnit) exitWith {
|
||||
|
||||
|
||||
private _aID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1];
|
||||
if (_aID > -1 && {_lastUnit isNotEqualTo objNull}) then {
|
||||
if (_aID > -1 && {!isNull _lastUnit}) then {
|
||||
_lastUnit removeAction _aID;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user