Advertisement
Guest User

Untitled

a guest
Oct 1st, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. hooksecurefunc("UnitPopup_HideButtons", function()
  2.     local dropdownMenu = UIDROPDOWNMENU_INIT_MENU;
  3.    
  4.     for index, value in ipairs(UnitPopupMenus[dropdownMenu.which]) do
  5.         if(value == "DUNGEON_DIFFICULTY") then
  6.             UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 1;
  7.         elseif(value == "RAID_DIFFICULTY") then
  8.             UnitPopupShown[UIDROPDOWNMENU_MENU_LEVEL][index] = 1;
  9.         end
  10.     end
  11. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement