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
c2e933355d
commit
ed061d66ba
@ -33,7 +33,8 @@ if (_nozzle getVariable [QGVAR(jerryCan), false]) exitWith {};
|
||||
["_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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user