关于BUG的提交
副本RAID里点猎人玩家的子菜单玩家名字都带一个"-".
明明是一个工会的人却无法M语.提示: "玩家姓名-无法找到."
看上去似乎是这里判断有问题(35行):
function FriendsMenuXP_ShowRaidDropdown()
local name, server = UnitName(this.unit);
if(server) then name = name.."-"..server; end
local connected = UnitIsConnected(this.unit);
if(InCombatLockdown()) then
FriendsMenuXP_Show(FriendsMenuXP, name, connected, nil, nil, "RAID");
FriendsMenuXP:ClearAllPoints();
if(DropDownList1:IsVisible()) then
FriendsMenuXP:SetPoint("TOPLEFT", "DropDownList1", "TOPRIGHT");
else
FriendsMenuXP:SetPoint("TOPLEFT", "DropDownList1", "TOPLEFT");
end
else
FriendsMenuXP_Show(FriendsMenuXPSecure, name, connected, nil, nil, "RAID");
FriendsMenuXPSecure:ClearAllPoints();
if(DropDownList1:IsVisible()) then
FriendsMenuXPSecure:SetPoint("TOPLEFT", "DropDownList1", "TOPRIGHT");
else
FriendsMenuXPSecure:SetPoint("TOPLEFT", "DropDownList1", "TOPLEFT");
end
end
end