You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
526 B
17 lines
526 B
|
5 years ago
|
local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
||
|
|
local S = E:GetModule('Skins')
|
||
|
|
|
||
|
|
local _G = _G
|
||
|
|
|
||
|
|
function S:Blizzard_FlightMap()
|
||
|
|
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.taxi) then return end
|
||
|
|
|
||
|
|
local FlightMapFrame = _G.FlightMapFrame
|
||
|
|
_G.FlightMapFramePortrait:Kill()
|
||
|
|
FlightMapFrame:StripTextures()
|
||
|
|
FlightMapFrame:SetTemplate('Transparent')
|
||
|
|
S:HandleCloseButton(_G.FlightMapFrameCloseButton)
|
||
|
|
end
|
||
|
|
|
||
|
|
S:AddCallbackForAddon('Blizzard_FlightMap')
|