comparison WhistleMaster.lua @ 5:090b3be6489d

Fix for a LOD issue. Seems Kludgy, but I haven't figured out a better method yet.
author Vynn <mischivin@gmail.com>
date Sat, 05 Nov 2016 23:44:42 -0400
parents 4402edd42a3f
children 148e87d347f5
comparison
equal deleted inserted replaced
4:fe738e588d1a 5:090b3be6489d
80 end 80 end
81 if ( (mapVisible) and not WorldMapFrame:IsVisible() ) then 81 if ( (mapVisible) and not WorldMapFrame:IsVisible() ) then
82 mapVisible = false 82 mapVisible = false
83 end 83 end
84 if (event == "VARIABLES_LOADED") then 84 if (event == "VARIABLES_LOADED") then
85 WorldMapFrame:Show()
86 WorldMapFrame:Hide()
85 UpdateWhistleMaster() 87 UpdateWhistleMaster()
86 end 88 end
87 end 89 end
88 90
89 local WhistleMaster = CreateFrame("FRAME", "WhistleMaster", WorldMapPOIFrame) 91 local WhistleMaster = CreateFrame("FRAME", "WhistleMaster", WorldMapPOIFrame)