Fix error on BCC

Fixes #21
This commit is contained in:
Parnic
2022-06-01 16:26:12 -05:00
parent 6325ed1ade
commit 9500bdf393
3 changed files with 11 additions and 1 deletions

View File

@ -800,7 +800,9 @@ if UnitPopupButtons then
end end
IceHUD_UnitFrame_DropDown = CreateFrame("Frame", "IceHUD_UnitFrame_DropDown", UIParent, "UIDropDownMenuTemplate") IceHUD_UnitFrame_DropDown = CreateFrame("Frame", "IceHUD_UnitFrame_DropDown", UIParent, "UIDropDownMenuTemplate")
UnitPopupFrames[#UnitPopupFrames+1] = "IceHUD_UnitFrame_DropDown" if UnitPopupFrames then
UnitPopupFrames[#UnitPopupFrames+1] = "IceHUD_UnitFrame_DropDown"
end
IceHUD.DropdownUnit = nil IceHUD.DropdownUnit = nil
UIDropDownMenu_Initialize(IceHUD_UnitFrame_DropDown, function() UIDropDownMenu_Initialize(IceHUD_UnitFrame_DropDown, function()

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
v1.13.14.1:
- Restored guard around array that doesn't exist on Classic clients.
v1.13.14: v1.13.14:
- Fixed target health updating infrequently on Classic. - Fixed target health updating infrequently on Classic.

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
v1.13.14.1:
- Restored guard around array that doesn't exist on Classic clients.
v1.13.14: v1.13.14:
- Fixed target health updating infrequently on Classic. - Fixed target health updating infrequently on Classic.