mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fix 10.1.5 error building a player menu
This commit is contained in:
@ -886,6 +886,7 @@ 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
|
||||||
|
if subbtns[j] then
|
||||||
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[subbtns[j]:GetText()]
|
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[subbtns[j]:GetText()]
|
||||||
if not blacklisted then
|
if not blacklisted then
|
||||||
new_buttons_list[#new_buttons_list+1] = subbtns[j]
|
new_buttons_list[#new_buttons_list+1] = subbtns[j]
|
||||||
@ -893,6 +894,7 @@ local function munge_unit_menu(menu)
|
|||||||
new_buttons_list[#new_buttons_list+1] = blacklisted
|
new_buttons_list[#new_buttons_list+1] = blacklisted
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
else
|
else
|
||||||
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[btns[i]:GetText()]
|
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[btns[i]:GetText()]
|
||||||
if not blacklisted then
|
if not blacklisted then
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# 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:
|
v1.14.23:
|
||||||
|
|
||||||
- Update Dragonflight TOC for 10.1.5
|
- Update Dragonflight TOC for 10.1.5
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# 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:
|
v1.14.23:
|
||||||
|
|
||||||
- Update Dragonflight TOC for 10.1.5
|
- Update Dragonflight TOC for 10.1.5
|
||||||
|
Reference in New Issue
Block a user