diff --git a/api/unitframes.lua b/api/unitframes.lua index 3b33345d..f9e315d5 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -961,9 +961,6 @@ function pfUI.uf:ClickAction(button) if button == "RightButton" then if label == "player" then ToggleDropDownMenu(1, nil, pfUI.uf.player.Dropdown,"cursor") - if UnitIsPartyLeader("player") then - UIDropDownMenu_AddButton({text = "Reset Instances", func = ResetInstances, notCheckable = 1}, 1) - end elseif label == "target" then ToggleDropDownMenu(1, nil, TargetFrameDropDown, "cursor") elseif label == "pet" then diff --git a/modules/player.lua b/modules/player.lua index 6de324ce..4a7be05b 100644 --- a/modules/player.lua +++ b/modules/player.lua @@ -44,7 +44,7 @@ pfUI:RegisterModule("player", function () function pfUI.uf.player.Dropdowni() -- add reset button when alone if not (UnitInRaid("player") or GetNumPartyMembers() > 0) then - UIDropDownMenu_AddButton({text = "Reset Instances", func = ResetInstances, notCheckable = 1}, 1) + UIDropDownMenu_AddButton({text = RESET_INSTANCES, func = ResetInstances, notCheckable = 1}, 1) end UnitPopup_ShowMenu(pfUI.uf.player.Dropdown, "SELF", "player") end