From 04ee8578ff1bc44263b625d09ecd46ff1b2ad8a6 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 11 Aug 2014 12:09:15 +0800 Subject: [PATCH] Update fn_damageActions.sqf Bikes can currently be unlimited siphon sources --- SQF/dayz_code/compile/fn_damageActions.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_damageActions.sqf b/SQF/dayz_code/compile/fn_damageActions.sqf index a0527ef99..cdfd897f7 100644 --- a/SQF/dayz_code/compile/fn_damageActions.sqf +++ b/SQF/dayz_code/compile/fn_damageActions.sqf @@ -76,7 +76,7 @@ if (_inVehicle) then { if (!isNull _menClose && _hasPatient && !r_drag_sqf && !r_action && !_inVehicle && !r_player_unconscious && _isClose) then { _unit = cursorTarget; - _isDisallowRefuel = typeOf _unit in ["M240Nest_DZ"]; + _isDisallowRefuel = typeOf _unit in ["M240Nest_DZ","MMT_Civ","MMT_USMC","Old_bike_TK_CIV_EP1","Old_bike_TK_INS_EP1"]; // player reveal _unit; _vehClose = (getPosATL player) nearEntities [["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"],5]; //nearestObjects [player, ["Car","Tank","Helicopter","Plane","StaticWeapon","Ship"], 5]; _hasVehicle = ({alive _x} count _vehClose > 0);