fix a macro

This commit is contained in:
commy2 2019-03-24 09:41:36 +01:00
parent 6cff8deba8
commit 5277bc083b
4 changed files with 4 additions and 4 deletions

View File

@ -81,5 +81,5 @@ if (_target getVariable [QGVAR(isUAV), false]) then {
private _mass = _target getVariable [QGVAR(originalMass), 0];
if (_mass != 0) then {
[QEGVAR(setMass), [_target, _mass], _target] call CBA_fnc_targetEvent;
[QEGVAR(common,setMass), [_target, _mass], _target] call CBA_fnc_targetEvent;
};

View File

@ -81,5 +81,5 @@ if (_target getVariable [QGVAR(isUAV), false]) then {
private _mass = _target getVariable [QGVAR(originalMass), 0];
if (_mass != 0) then {
[QEGVAR(setMass), [_target, _mass], _target] call CBA_fnc_targetEvent;
[QEGVAR(common,setMass), [_target, _mass], _target] call CBA_fnc_targetEvent;
};

View File

@ -79,5 +79,5 @@ private _mass = getMass _target;
if (_mass > 1) then {
_target setVariable [QGVAR(originalMass), _mass, true];
[QEGVAR(setMass), [_target, 1e-12], _target] call CBA_fnc_targetEvent;
[QEGVAR(common,setMass), [_target, 1e-12], _target] call CBA_fnc_targetEvent;
};

View File

@ -67,5 +67,5 @@ private _mass = getMass _target;
if (_mass > 1) then {
_target setVariable [QGVAR(originalMass), _mass, true];
[QEGVAR(setMass), [_target, 1e-12], _target] call CBA_fnc_targetEvent;
[QEGVAR(common,setMass), [_target, 1e-12], _target] call CBA_fnc_targetEvent;
};