mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
formatting
This commit is contained in:
parent
3957a0751f
commit
3874146b23
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user