From 1d66d46501b6cc24521beafca65019a2f954eb7e Mon Sep 17 00:00:00 2001 From: Glowbal Date: Mon, 27 Jun 2016 19:55:00 +0200 Subject: [PATCH] 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. --- addons/medical/functions/fnc_displayPatientInformation.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical/functions/fnc_displayPatientInformation.sqf b/addons/medical/functions/fnc_displayPatientInformation.sqf index 0f44ea5699..9d5253bd48 100644 --- a/addons/medical/functions/fnc_displayPatientInformation.sqf +++ b/addons/medical/functions/fnc_displayPatientInformation.sqf @@ -129,7 +129,7 @@ if (_show) then { }; } foreach _bandagedwounds; } else { - private _damaged = [true, true, true, true, true, true]; + _damaged = [true, true, true, true, true, true]; { private _hitPoint = [_target, _x, true] call FUNC(translateSelections); _selectionBloodLoss set [_forEachIndex, _target getHitPointDamage _hitPoint];