mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix nametag names jump when no ranks shown and talking (#7807)
This commit is contained in:
parent
94ba0784f9
commit
731c1c27a6
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user