From 2a6ac998f1769f0b63e5178e67a055b3ce6b409d Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Fri, 22 Jan 2021 21:02:08 +0100 Subject: [PATCH] Fix siphon fuel Thx @ch0c --- SQF/dayz_code/actions/siphonFuel.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/siphonFuel.sqf b/SQF/dayz_code/actions/siphonFuel.sqf index e5a740245..9830f4a2b 100644 --- a/SQF/dayz_code/actions/siphonFuel.sqf +++ b/SQF/dayz_code/actions/siphonFuel.sqf @@ -9,10 +9,10 @@ _vehicle = _this select 3; player removeAction s_player_siphonfuel; _hasHose = "equip_hose" in magazines player; -if (!_hasHose) exitWith {localize "str_siphon_hose" call dayz_rollingMessages; }; +if (!_hasHose) exitWith {dayz_actionInProgress = false; localize "str_siphon_hose" call dayz_rollingMessages; }; _PlayerNear = {isPlayer _x} count ((getPosATL _vehicle) nearEntities ["CAManBase", 12]) > 1; -if (_PlayerNear) exitWith {localize "str_pickup_limit_5" call dayz_rollingMessages;}; +if (_PlayerNear) exitWith {dayz_actionInProgress = false; localize "str_pickup_limit_5" call dayz_rollingMessages;}; _abort = false; _configVeh = configFile >> "cfgVehicles" >> typeOf _vehicle;