move say3d below second local check

Only want this to repair sound to play if the repair worked and did not
get stopped by second check
This commit is contained in:
vbawol 2017-10-02 11:42:00 -05:00
parent fe8c16d88f
commit c479e04607

View File

@ -115,7 +115,6 @@ switch _do do {
if !(_repairarrays isequalto []) then {
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;
@ -123,7 +122,7 @@ if !(_repairarrays isequalto []) then {
if !(_returnmat isequalto "") then {
_returnmat call EPOCH_fnc_addItemOverflow;
};
_veh say3d 'vehicle_repair';
if (local _veh) then {
[_veh, _repairarrays] call EPOCH_client_repairVehicle;
} else {