Quantcast

- Fixed right-click menu.

HonorGoG [09-16-19 - 05:43]
- Fixed right-click menu.
Filename
TitanClassicRegen/TitanRegen.lua
diff --git a/TitanClassicRegen/TitanRegen.lua b/TitanClassicRegen/TitanRegen.lua
index 31caf50..9c79b85 100644
--- a/TitanClassicRegen/TitanRegen.lua
+++ b/TitanClassicRegen/TitanRegen.lua
@@ -251,19 +251,19 @@ function TitanPanelRightClickMenu_PrepareTitanRegenMenu()
      info.text = L["TITAN_REGEN_MENU_SHOW2"];
      info.func = TitanRegen_ShowHPRegen;
      info.checked = TitanGetVar(TITAN_REGEN_ID,"ShowHPRegen");
-     UIDropDownMenu_AddButton(info);
+     L_UIDropDownMenu_AddButton(info);

      info = {};
      info.text = L["TITAN_REGEN_MENU_SHOW3"];
      info.func = TitanRegen_ShowMPRegen;
      info.checked = TitanGetVar(TITAN_REGEN_ID,"ShowMPRegen");
-     UIDropDownMenu_AddButton(info);
+     L_UIDropDownMenu_AddButton(info);

      info = {};
      info.text = L["TITAN_REGEN_MENU_SHOW4"];
      info.func = TitanRegen_ShowPercentage;
      info.checked = TitanGetVar(TITAN_REGEN_ID,"ShowPercentage");
-     UIDropDownMenu_AddButton(info);
+     L_UIDropDownMenu_AddButton(info);

      TitanPanelRightClickMenu_AddSpacer();

@@ -271,7 +271,7 @@ function TitanPanelRightClickMenu_PrepareTitanRegenMenu()
      info.text = L["TITAN_PANEL_MENU_SHOW_COLORED_TEXT"];
      info.func = TitanRegen_ShowColoredText;
      info.checked = TitanGetVar(TITAN_REGEN_ID, "ShowColoredText");
-     UIDropDownMenu_AddButton(info);
+     L_UIDropDownMenu_AddButton(info);

      TitanPanelRightClickMenu_AddToggleLabelText("TitanRegen");
      TitanPanelRightClickMenu_AddCommand(L["TITAN_PANEL_MENU_HIDE"], id, TITAN_PANEL_MENU_FUNC_HIDE);