mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Negate fuel hose connected condition
This commit is contained in:
parent
e5f64bcdc1
commit
4c2d92d360
@ -29,7 +29,7 @@ _maxFuel = getNumber (configFile >> "CfgVehicles" >> (typeOf _target) >> QGVAR(f
|
||||
params ["_args", "_pfID"];
|
||||
_args params ["_source", "_sink", "_unit", "_nozzle", "_rate", "_startFuel", "_maxFuel", "_connectFromPoint", "_connectToPoint"];
|
||||
|
||||
if (_nozzle getVariable [QGVAR(isConnected), false]) exitWith {
|
||||
if !(_nozzle getVariable [QGVAR(isConnected), false]) exitWith {
|
||||
[_pfID] call cba_fnc_removePerFrameHandler;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user