diff --git a/addons/nametags/functions/fnc_drawNameTagIcon.sqf b/addons/nametags/functions/fnc_drawNameTagIcon.sqf index 61a8a1b930..55fb2d960f 100644 --- a/addons/nametags/functions/fnc_drawNameTagIcon.sqf +++ b/addons/nametags/functions/fnc_drawNameTagIcon.sqf @@ -30,10 +30,8 @@ _fnc_parameters = { //Set Icon: private _icon = ""; - private _size = 0; if (_drawSoundwave) then { _icon = format [QPATHTOF(UI\soundwave%1.paa), floor random 10]; - _size = 1; } else { if (_drawRank && {rank _target != ""}) then { _icon = GVAR(factionRanks) getVariable (_target getVariable [QGVAR(faction), faction _target]); @@ -42,7 +40,6 @@ _fnc_parameters = { } else { _icon = format ["\A3\Ui_f\data\GUI\Cfg\Ranks\%1_gs.paa", rank _target]; }; - _size = 1; }; }; @@ -76,8 +73,8 @@ _fnc_parameters = { _icon, _color, [], - (_size * _scale), - (_size * _scale), + _scale, + _scale, 0, _name, 2,