Skip to content

Commit

Permalink
Can now tell SoM realms apart from Classic Era realms
Browse files Browse the repository at this point in the history
SoM realms are not connected at this time.
  • Loading branch information
Anonomit committed Feb 13, 2022
1 parent 11f7692 commit 4ea1501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LootReserve.lua
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function LootReserve:GetCurrentExpansion()
end

function LootReserve:IsCrossRealm()
return self:GetCurrentExpansion() == 0;
return self:GetCurrentExpansion() == 0 and not C_Seasons.HasActiveSeason();
-- This doesn't really work, because even in non-connected realms UnitFullName ends up returning your realm name,
-- and we can't use UnitName either, because that one NEVER returns a realm for "player". WTB good API, 5g.
--[[
Expand Down

0 comments on commit 4ea1501

Please sign in to comment.