mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix vehicle damage
Thx to mmrsz for the report
This commit is contained in:
@@ -89,7 +89,7 @@ server_obj_dam = {
|
|||||||
};
|
};
|
||||||
} count _hitpoints;
|
} count _hitpoints;
|
||||||
|
|
||||||
if (_allFixed && !_totalDmg) then {_object setDamage 0;};
|
if (_allFixed && !_totalDmg && _forced) then {_object setDamage 0;};
|
||||||
|
|
||||||
if (_forced) then {
|
if (_forced) then {
|
||||||
if (_object in needUpdate_objects) then {needUpdate_objects = needUpdate_objects - [_object];};
|
if (_object in needUpdate_objects) then {needUpdate_objects = needUpdate_objects - [_object];};
|
||||||
|
|||||||
Reference in New Issue
Block a user