Skip to content

Commit 2cb2a28

Browse files
committed
Fix remix detection incorrectly flagging non-remix characters
1 parent c03b884 commit 2cb2a28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ResearchViewer.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ end
452452

453453
function ResearchViewer:OpenGenericTalentTree(treeID)
454454
if LEGION_ARTIFACT_TREE == treeID then
455-
if C_TimerunningUI.GetActiveTimerunningSeasonID() ~= LEMIX_SEASON then return false; end
455+
if PlayerGetTimerunningSeasonID() ~= LEMIX_SEASON then return false; end
456456
-- "shift right-click" the MH slot, which opens the correct tree
457457
SocketInventoryItem(16);
458458
if RemixArtifactFrame:IsShown() then return true; end
@@ -523,7 +523,7 @@ end
523523

524524
function ResearchViewer:TraitTreeExists(treeID)
525525
if LEGION_ARTIFACT_TREE == treeID then
526-
return C_TimerunningUI.GetActiveTimerunningSeasonID() == LEMIX_SEASON;
526+
return PlayerGetTimerunningSeasonID() == LEMIX_SEASON;
527527
end
528528

529529
return not not C_Traits.GetConfigIDByTreeID(treeID)

0 commit comments

Comments
 (0)