mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
normalize dependant hitpoints after repairing
This commit is contained in:
parent
10f56cc4c3
commit
45e79dcbbf
@ -38,3 +38,6 @@ _vehicle setDamage _damage;
|
|||||||
{
|
{
|
||||||
_vehicle setHitPointDamage [_x, _hitPointDamages select _forEachIndex];
|
_vehicle setHitPointDamage [_x, _hitPointDamages select _forEachIndex];
|
||||||
} forEach _hitPoints;
|
} forEach _hitPoints;
|
||||||
|
|
||||||
|
// normalize hitpoints
|
||||||
|
[_vehicle] call FUNC(normalizeHitPoints);
|
||||||
|
@ -74,3 +74,6 @@ _vehicle setDamage _damageNew;
|
|||||||
{
|
{
|
||||||
_vehicle setHitPointDamage [_x, _hitPointDamages select _forEachIndex];
|
_vehicle setHitPointDamage [_x, _hitPointDamages select _forEachIndex];
|
||||||
} forEach _hitPoints;
|
} forEach _hitPoints;
|
||||||
|
|
||||||
|
// normalize hitpoints
|
||||||
|
[_vehicle] call FUNC(normalizeHitPoints);
|
||||||
|
Loading…
Reference in New Issue
Block a user