mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 02:46:29 +03:00
object_setFixServer -> fnc_veh_setFixServer
Fnc_veh_handleRepair is a new version of fnc_veh_setFixServer with extra handling. It is used in salvage and some other scripts, but not server_monitor.
This commit is contained in:
@@ -263,7 +263,7 @@ if (isServer && isNil "sm_done") then {
|
||||
_selection = _x select 0;
|
||||
_dam = _x select 1;
|
||||
if (_selection in dayZ_explosiveParts && _dam > 0.8) then {_dam = 0.8};
|
||||
[_object,_selection,_dam] call fnc_veh_handleRepair;
|
||||
[_object,_selection,_dam] call fnc_veh_setFixServer;
|
||||
} count _hitpoints;
|
||||
|
||||
_object setFuel _fuel;
|
||||
|
||||
Reference in New Issue
Block a user