mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix damaged array not being overwritten.
This fixes an issue were injured body parts were displayed as blue instead of red. Happens when using advanced medical with AI running in basic mode.
This commit is contained in:
@ -129,7 +129,7 @@ if (_show) then {
|
|||||||
};
|
};
|
||||||
} foreach _bandagedwounds;
|
} foreach _bandagedwounds;
|
||||||
} else {
|
} else {
|
||||||
private _damaged = [true, true, true, true, true, true];
|
_damaged = [true, true, true, true, true, true];
|
||||||
{
|
{
|
||||||
private _hitPoint = [_target, _x, true] call FUNC(translateSelections);
|
private _hitPoint = [_target, _x, true] call FUNC(translateSelections);
|
||||||
_selectionBloodLoss set [_forEachIndex, _target getHitPointDamage _hitPoint];
|
_selectionBloodLoss set [_forEachIndex, _target getHitPointDamage _hitPoint];
|
||||||
|
Reference in New Issue
Block a user