Fix repair and salavage vehicles

Vehicles have to be updated directly after they got repaired and salvaged.
This commit is contained in:
AirwavesMan
2021-01-28 14:17:59 +01:00
parent 8e8727dd63
commit 6bbbacbb71
3 changed files with 7 additions and 6 deletions

View File

@@ -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];