Closed zhpzhp closed 2 weeks ago
I have confirmed this to be a bug. For some reason, the animation events are being registered after the PLAYER_LOGIN
event, causing Masque's adjustments to be overridden. The following code should help until I get a release put out. Add this at line 55 of Masque.lua
.
-- Events Frame
if WOW_RETAIL then
local MSQ_EVENTS_FRAME = CreateFrame("Frame")
MSQ_EVENTS_FRAME:Hide()
local function OnEvent(...)
local db = Core.db.profile
local UpdateEffect = Core.UpdateEffect
for k, v in pairs(db.Effects) do
UpdateEffect(k, v)
end
end
-- Delay the unregistering of events until after `PLAYER_LOGIN`.
MSQ_EVENTS_FRAME:RegisterEvent("PLAYER_ENTERING_WORLD")
MSQ_EVENTS_FRAME:SetScript("OnEvent", OnEvent)
end
Works perfectly! Thank you
You bet. I'll try to get a release sometime this week or next. Busy schedule.
Game Flavor
Retail
Game Version
11.0.2
Add-On Version
11.0.1
Description
Disable the three options(cast animation, interrupt animation, targeting reticles) in the advanced tab only works until the reload.
Screenshots