Skip to content

Commit

Permalink
Merge pull request #4019 from acemod/customizable-faction
Browse files Browse the repository at this point in the history
add possibility to overwrite a units faction for determining name tags
  • Loading branch information
thojkooi committed Jun 29, 2016
2 parents 01c184b + ab23079 commit a47168e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/nametags/functions/fnc_drawNameTagIcon.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _fnc_parameters = {
_size = 1;
} else {
if (_drawRank && {rank _target != ""}) then {
_icon = GVAR(factionRanks) getVariable faction _target;
_icon = GVAR(factionRanks) getVariable (_target getVariable [QGVAR(faction), faction _target]);
if (!isNil "_icon") then {
_icon = _icon param [ALL_RANKS find rank _target, ""];
} else {
Expand Down

0 comments on commit a47168e

Please sign in to comment.