mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix a macro
This commit is contained in:
parent
6cff8deba8
commit
5277bc083b
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user