diff --git a/IceHUD.lua b/IceHUD.lua index 9ef86ea..8aa8ed9 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -800,7 +800,9 @@ if UnitPopupButtons then end 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 UIDropDownMenu_Initialize(IceHUD_UnitFrame_DropDown, function() diff --git a/changelog.md b/changelog.md index b88777d..355cec4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +v1.13.14.1: + +- Restored guard around array that doesn't exist on Classic clients. + v1.13.14: - Fixed target health updating infrequently on Classic. diff --git a/this_version.md b/this_version.md index 5cc3b49..ff45b89 100644 --- a/this_version.md +++ b/this_version.md @@ -1,5 +1,9 @@ # Changelog +v1.13.14.1: + +- Restored guard around array that doesn't exist on Classic clients. + v1.13.14: - Fixed target health updating infrequently on Classic.