Fix statusEffect error in refuel

This commit is contained in:
PabstMirror 2016-02-04 01:31:12 -06:00
parent 4612652f8c
commit 2cf2cb0e59

View File

@ -33,7 +33,7 @@ if (isNull _nozzle || {_source != _target}) exitWith {false};
_args params ["_unit", "_nozzle", "_target"];
_unit setVariable [QGVAR(nozzle), nil];
detach _nozzle;
[_unit, "ACE_refuel", false] call EFUNC(common,statusEffect_set);
[_unit, "forceWalk", "ACE_refuel", false] call EFUNC(common,statusEffect_set);
REFUEL_UNHOLSTER_WEAPON
_unit setVariable [QGVAR(isRefueling), false];
_actionID = _unit getVariable [QGVAR(ReleaseActionID), -1];