mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
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:
parent
fe8c16d88f
commit
c479e04607
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user