From f90a91dfb5802441debf5cee4366233a5f11d60b Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 27 Sep 2016 11:14:22 +0200 Subject: [PATCH] add todo --- addons/medical_damage/functions/fnc_parseConfigForInjuries.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_damage/functions/fnc_parseConfigForInjuries.sqf b/addons/medical_damage/functions/fnc_parseConfigForInjuries.sqf index 5a4930f473..1b7b2066cd 100644 --- a/addons/medical_damage/functions/fnc_parseConfigForInjuries.sqf +++ b/addons/medical_damage/functions/fnc_parseConfigForInjuries.sqf @@ -80,7 +80,7 @@ private _classID = 0; private _minDamage = GET_NUMBER(_entry >> "minDamage",0); private _maxDamage = GET_NUMBER(_entry >> "maxDamage",-1); private _causes = GET_ARRAY(_entry >> "causes",[]); - private _displayName = GET_STRING(_entry >> "name",_className); + private _displayName = GET_STRING(_entry >> "name",_className); // @todo, don't translate in config // TODO instead of hardcoding minor, medium and large just go through all sub classes recursively until none are found if ("Minor" call _fnc_parseSubClassWounds || "Medium" call _fnc_parseSubClassWounds || "Large" call _fnc_parseSubClassWounds) exitWith {}; // continue to the next one