oUF/Tags: fix untagging element with no __tags (idk what this actually does but nameplates need it)

This commit is contained in:
andrew6180
2023-06-06 02:18:44 -07:00
parent df1d3e72d7
commit faf08ccbd7
+1 -1
View File
@@ -841,7 +841,7 @@ Used to unregister a tag from a unit frame.
* fs - the font string holding the tag (FontString)
--]]
local function Untag(self, fs)
if(not fs) then return end
if(not fs or not self.__tags) then return end
unregisterEvents(fs)
for _, timers in next, eventlessUnits do