formatting

This commit is contained in:
lambdatiger 2024-01-15 16:32:43 -06:00
parent 3957a0751f
commit 3874146b23

View File

@ -28,12 +28,12 @@ if (!local _currentUnit) exitWith {
}; };
private _aID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1]; private _actionID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1];
if (_aID > -1 && {!isNull _lastUnit}) then { if (_actionID > -1 && {!isNull _lastUnit}) then {
_lastUnit removeAction _aID; _lastUnit removeAction _actionID;
}; };
_aID = _currentUnit addAction [ _actionID = _currentUnit addAction [
"Reset Lines", "Reset Lines",
FUNC(dev_clearTraces), FUNC(dev_clearTraces),
nil, nil,
@ -45,4 +45,4 @@ _aID = _currentUnit addAction [
8 8
]; ];
missionNamespace getVariable [QGVAR(dev_clearTraceAction), _aID]; missionNamespace getVariable [QGVAR(dev_clearTraceAction), _actionID];