Moved 2nd local check behind sleep

This commit is contained in:
He-Man 2017-10-02 18:27:09 +02:00 committed by GitHub
parent 8e0c7afc91
commit fe8c16d88f

View File

@ -113,14 +113,13 @@ switch _do do {
}; };
if !(_repairarrays isequalto []) then { 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_medic0';
player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd'; player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd';
_veh say3d 'vehicle_repair'; _veh say3d 'vehicle_repair';
uisleep 5; uisleep 5;
if (_secondlocalcheck && !local _veh) exitwith {
['Error - You must get into drivers seat first!',5] call Epoch_message;
};
if !(_returnmat isequalto "") then { if !(_returnmat isequalto "") then {
_returnmat call EPOCH_fnc_addItemOverflow; _returnmat call EPOCH_fnc_addItemOverflow;
}; };