mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 10:56:29 +03:00
Fix repair and salavage vehicles
Vehicles have to be updated directly after they got repaired and salvaged.
This commit is contained in:
@@ -52,7 +52,7 @@ if (_hasToolbox) then {
|
||||
/*if ((_hitpoint == "HitEngine") or (_hitpoint == "HitFuel")) then {
|
||||
[_vehicle, _selection, 0.89] call fnc_veh_handleDam;
|
||||
} else {*/
|
||||
[_vehicle, _selection, 1] call fnc_veh_handleDam;
|
||||
[_vehicle, _selection, 1, objNull, objNull, objNull, true] call fnc_veh_handleDam;
|
||||
//};
|
||||
_vehicle call fnc_veh_ResetEH;
|
||||
_vehicle setvelocity [0,0,1];
|
||||
|
||||
Reference in New Issue
Block a user