Cell

Cell

2M Downloads

Logging into a mythic raid instance doesn't apply the mythic layout until after a reload

m33shoq opened this issue · 1 comments

commented

I have this bug consistent for me and my guildmate.

I debugged some stuff and figured that function for GROUP_ROSTER_UPDATE is called from PLAYER_LOGIN event. Whenever it is called from PLAYER_LOGIN IsInRaid() and IsInGroup() returns false so Cell.vars.groupType is set to solo and then PLAYER_ENTERING_WORLD happens with Cell.vars.groupType being solo so it doesnt apply mythic layout. After that happens real GROUP_ROSTER_UPDATE when IsInRaid and IsInGroup return proper values but layout is not updated after that one as Cell.vars.inMythic is only changed in PLAYER_ENTERING_WORLD.

I can consistently reproduce this issue so you can ask me for more debugs.

doing this at Core.lua@711

-if Cell.vars.groupType == "raid" and iType == "raid" then
+if iType == "raid" then

makes it work properly but i don't know if this is the best way to fix this

commented

Oh, I see this fixed in the latest release. Thank you.