From 85dc59d66cc9a4852abf9ac7cb55e012f62861a4 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Sat, 5 Sep 2015 11:57:41 +0200 Subject: [PATCH] Fixed: should only display "no injuries" when there are no injuries. Not the other way around --- addons/medical_menu/functions/fnc_updateInformationLists.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_menu/functions/fnc_updateInformationLists.sqf b/addons/medical_menu/functions/fnc_updateInformationLists.sqf index 70903347b5..ecd700e43a 100644 --- a/addons/medical_menu/functions/fnc_updateInformationLists.sqf +++ b/addons/medical_menu/functions/fnc_updateInformationLists.sqf @@ -33,6 +33,6 @@ _amountOfGeneric = count _genericMessages; _lbCtrl lbSetColor [_forEachIndex + _amountOfGeneric, _color]; } forEach _allInjuryTexts; -if !(_allInjuryTexts isEqualTo []) then { +if (_allInjuryTexts isEqualTo []) then { _lbCtrl lbAdd localize ELSTRING(medical,NoInjuriesBodypart); };