Compare commits

...

2 Commits

Author SHA1 Message Date
d9cfb3a09c Fix 10.1.5 error building a player menu 2023-07-16 22:14:23 -10:00
8bc7b1ee90 Update TOCs 2023-07-11 16:52:17 -05:00
5 changed files with 27 additions and 9 deletions

View File

@ -886,11 +886,13 @@ local function munge_unit_menu(menu)
if btns[i].IsMenu() then if btns[i].IsMenu() then
local subbtns = btns[i].GetMenuButtons() local subbtns = btns[i].GetMenuButtons()
for j=1, #subbtns do for j=1, #subbtns do
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[subbtns[j]:GetText()] if subbtns[j] then
if not blacklisted then local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[subbtns[j]:GetText()]
new_buttons_list[#new_buttons_list+1] = subbtns[j] if not blacklisted then
elseif blacklisted ~= true then new_buttons_list[#new_buttons_list+1] = subbtns[j]
new_buttons_list[#new_buttons_list+1] = blacklisted elseif blacklisted ~= true then
new_buttons_list[#new_buttons_list+1] = blacklisted
end
end end
end end
else else

View File

@ -1,5 +1,5 @@
## Interface: 100100 ## Interface: 100105
## Interface-Retail: 100100 ## Interface-Retail: 100105
## Interface-Classic: 11403 ## Interface-Classic: 11403
## Interface-BCC: 20504 ## Interface-BCC: 20504
## Interface-Wrath: 30402 ## Interface-Wrath: 30402

View File

@ -1,5 +1,5 @@
## Interface: 100100 ## Interface: 100105
## Interface-Retail: 100100 ## Interface-Retail: 100105
## Interface-Classic: 11403 ## Interface-Classic: 11403
## Interface-BCC: 20504 ## Interface-BCC: 20504
## Interface-Wrath: 30402 ## Interface-Wrath: 30402

View File

@ -1,5 +1,13 @@
# Changelog # Changelog
v1.14.24:
- Fixed an error when targeting a player and right-clicking a module that should show a menu in 10.1.5.
v1.14.23:
- Update Dragonflight TOC for 10.1.5
v1.14.22: v1.14.22:
- Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344 - Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344

View File

@ -1,5 +1,13 @@
# Changelog # Changelog
v1.14.24:
- Fixed an error when targeting a player and right-clicking a module that should show a menu in 10.1.5.
v1.14.23:
- Update Dragonflight TOC for 10.1.5
v1.14.22: v1.14.22:
- Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344 - Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344