Quantcast

Give the anchor frame a name so it's available in _G.

Scott Sibley [10-20-10 - 10:14]
Give the anchor frame a name so it's available in _G.
Filename
Modules/Nameplates/Nameplates.lua
diff --git a/Modules/Nameplates/Nameplates.lua b/Modules/Nameplates/Nameplates.lua
index b02db5c..4b68a9e 100644
--- a/Modules/Nameplates/Nameplates.lua
+++ b/Modules/Nameplates/Nameplates.lua
@@ -89,7 +89,7 @@ local function isNameplate(frame)
 	return region and region:GetObjectType() == "Texture" and region:GetTexture() == "Interface\\TargetingFrame\\UI-TargetingFrame-Flash"
 end

-local anchor = CreateFrame("Frame")
+local anchor = CreateFrame("Frame", "StarTipNameplateAnchor")
 local size = 50
 anchor:SetWidth(size)
 anchor:SetHeight(size)