Skip to content

Instantly share code, notes, and snippets.

/.lua Secret

Created September 26, 2016 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/99189c309075dcbbdee2e8a4e8bb51ff to your computer and use it in GitHub Desktop.
Save anonymous/99189c309075dcbbdee2e8a4e8bb51ff to your computer and use it in GitHub Desktop.
-- remove alert anchors; taken from RealUI
hooksecurefunc(AlertFrame, "AddAlertFrameSubSystem", function(self, alertFrameSubSystem)
if alertFrameSubSystem.anchorFrame == TalkingHeadFrame then
for i, alertSubSystem in pairs(AlertFrame.alertFrameSubSystems) do
if alertFrameSubSystem == alertSubSystem then
tremove(AlertFrame.alertFrameSubSystems, i)
return
end
end
end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment