mirror of
https://github.com/Blaststar/Questie-Octo-Vanilla.git
synced 2026-10-20 12:20:50 +00:00
Several additions and changes
This commit is contained in:
+3
-4
@@ -812,15 +812,15 @@ function M:Finish(generation,doPrune)
|
||||
end
|
||||
|
||||
function M:ApplyHighlight()
|
||||
local hq=QuestieOcto.MapHighlight and QuestieOcto.MapHighlight.questID
|
||||
local V=QuestieOcto.Visuals
|
||||
local hq=QuestieOcto.MapHighlight and QuestieOcto.MapHighlight.questID
|
||||
if not V then return end
|
||||
for _,pin in pairs(self.activeFrames or {}) do
|
||||
if pin then
|
||||
if not hq then
|
||||
V:SetHighlight(pin,false)
|
||||
V:SetAlpha(pin,1)
|
||||
elseif tonumber(pin.questID)==hq and V:IsObjectiveRole(pin.role) then
|
||||
elseif tonumber(pin.questID)==hq and (V:IsObjectiveRole(pin.role) or pin.role=="turnin") then
|
||||
V:SetHighlight(pin,true)
|
||||
else
|
||||
V:SetHighlight(pin,false)
|
||||
@@ -1457,5 +1457,4 @@ if WorldMapFrame and not M.worldMapShowHooked then
|
||||
OnWorldMapShow()
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user