From 3874146b236a7e5893a431dcf751ace0c8c71a3c Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Mon, 15 Jan 2024 16:32:43 -0600 Subject: [PATCH] formatting --- addons/frag/functions/fnc_dev_switchUnitHandle.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/frag/functions/fnc_dev_switchUnitHandle.sqf b/addons/frag/functions/fnc_dev_switchUnitHandle.sqf index 8afdf53428..d2aed63c45 100644 --- a/addons/frag/functions/fnc_dev_switchUnitHandle.sqf +++ b/addons/frag/functions/fnc_dev_switchUnitHandle.sqf @@ -28,12 +28,12 @@ if (!local _currentUnit) exitWith { }; -private _aID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1]; -if (_aID > -1 && {!isNull _lastUnit}) then { - _lastUnit removeAction _aID; +private _actionID = missionNamespace getVariable [QGVAR(dev_clearTraceAction), -1]; +if (_actionID > -1 && {!isNull _lastUnit}) then { + _lastUnit removeAction _actionID; }; -_aID = _currentUnit addAction [ +_actionID = _currentUnit addAction [ "Reset Lines", FUNC(dev_clearTraces), nil, @@ -45,4 +45,4 @@ _aID = _currentUnit addAction [ 8 ]; -missionNamespace getVariable [QGVAR(dev_clearTraceAction), _aID]; +missionNamespace getVariable [QGVAR(dev_clearTraceAction), _actionID];