Quantcast

Let blizzard take care of the checks

p3lim [09-20-10 - 16:26]
Let blizzard take care of the checks
Filename
pMinimap.lua
diff --git a/pMinimap.lua b/pMinimap.lua
index 9c3b561..e34bc0b 100644
--- a/pMinimap.lua
+++ b/pMinimap.lua
@@ -74,10 +74,7 @@ function pMinimap:ADDON_LOADED(addon)
 	MinimapZoneTextButton:SetParent(Minimap)
 	MinimapZoneText:SetShadowOffset(0, 0)

-	if(not IsAddOnLoaded('Blizzard_TimeManager')) then
-		LoadAddOn('Blizzard_TimeManager')
-	end
-
+	TimeManager_LoadUI()
 	TimeManagerClockButton:GetRegions():Hide()
 	TimeManagerClockButton:SetSize(40, 14)
 	TimeManagerClockTicker:SetPoint('CENTER', TimeManagerClockButton)