mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Invert logic for isRefueling
This commit is contained in:
parent
14c9cffb6a
commit
76eea8924f
@ -33,7 +33,8 @@ if (_nozzle getVariable [QGVAR(jerryCan), false]) exitWith {};
|
|||||||
["_nozzle", (_args select 0) getVariable [QGVAR(nozzle), objNull], [objNull]]
|
["_nozzle", (_args select 0) getVariable [QGVAR(nozzle), objNull], [objNull]]
|
||||||
];
|
];
|
||||||
|
|
||||||
if (_unit getVariable [QGVAR(isRefueling), false]) exitWith {
|
if (!(_unit getVariable [QGVAR(isRefueling), false])) exitWith {
|
||||||
|
TRACE_1("player not isRefueling",_unit);
|
||||||
[_pfID] call CBA_fnc_removePerFrameHandler;
|
[_pfID] call CBA_fnc_removePerFrameHandler;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user