Commit 484ef960 authored by Merathilis's avatar Merathilis

Update QuestMapFrame skin

parent 095dee17
......@@ -82,11 +82,14 @@ local function styleQuestMapFrame()
local function UpdateCampaignHeader()
campaignHeader.newTex:SetAlpha(0)
if campaignHeader:IsShown() then
local warCampaignInfo = C_CampaignInfo_GetCampaignInfo(C_CampaignInfo_GetCurrentCampaignID())
local textureID = warCampaignInfo.uiTextureKitID
if textureID and idToTexture[textureID] then
campaignHeader.newTex:SetTexture(idToTexture[textureID])
campaignHeader.newTex:SetAlpha(.7)
local campaignID = C_CampaignInfo_GetCurrentCampaignID()
if campaignID then
local warCampaignInfo = C_CampaignInfo_GetCampaignInfo(campaignID)
local textureID = warCampaignInfo.uiTextureKitID
if textureID and idToTexture[textureID] then
campaignHeader.newTex:SetTexture(idToTexture[textureID])
campaignHeader.newTex:SetAlpha(.7)
end
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment