From fe8c16d88ff6c4024bbf640f174bcebb1a22209e Mon Sep 17 00:00:00 2001 From: He-Man Date: Mon, 2 Oct 2017 18:27:09 +0200 Subject: [PATCH] Moved 2nd local check behind sleep --- .../compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf b/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf index 73bef36e..688aa745 100644 --- a/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf +++ b/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf @@ -113,14 +113,13 @@ switch _do do { }; if !(_repairarrays isequalto []) then { - if (_secondlocalcheck && !local _veh) exitwith { - ['Error - You must get into drivers seat first!',5] call Epoch_message; - }; player playMove 'AinvPknlMstpSnonWrflDnon_medic0'; player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd'; _veh say3d 'vehicle_repair'; uisleep 5; - + if (_secondlocalcheck && !local _veh) exitwith { + ['Error - You must get into drivers seat first!',5] call Epoch_message; + }; if !(_returnmat isequalto "") then { _returnmat call EPOCH_fnc_addItemOverflow; };