From fcda1664ab8bcda4df413edf4f48f4c6e633ed6f Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 21 May 2019 20:42:33 +0200 Subject: [PATCH] unitframes: build new unitstr to promote leader --- api/unitframes.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/api/unitframes.lua b/api/unitframes.lua index 600bfa17..324ba3ac 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -730,6 +730,7 @@ function pfUI.uf:RightClickAction(unit) ToggleDropDownMenu(1, nil, getglobal("PartyMemberFrame" .. this.id .. "DropDown"), "cursor") elseif unit == "raid" then local name = this.lastUnit + local unitstr = this.label .. this.id FriendsDropDown.displayMode = "MENU" FriendsDropDown.initialize = function() UnitPopup_ShowMenu(_G[UIDROPDOWNMENU_OPEN_MENU], "PARTY", unitstr, name, id) end ToggleDropDownMenu(1, nil, FriendsDropDown, "cursor")