nozzle additonal check condition

This commit is contained in:
gienkov 2015-12-06 06:47:19 +01:00
parent 43a168f0b9
commit 56e919dccc

View File

@ -23,4 +23,4 @@ _nozzle = _unit getVariable [QGVAR(nozzle), objNull];
!(isNull _nozzle || !(isNull _nozzle ||
{(_target distance _unit) > REFUEL_ACTION_DISTANCE} || {(_target distance _unit) > REFUEL_ACTION_DISTANCE} ||
{!isNull (_target getVariable [QGVAR(nozzle), objNull])}) // TODO verify cant connect multiple fuel lines {!isNull (_target getVariable [QGVAR(nozzle), objNull])} || isEngineOn _target) // TODO verify cant connect multiple fuel lines