Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions EllesmereUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12247,9 +12247,7 @@ local DRUID_MOUNT_FORM_SPELLS = {
-- "any" match verdict. A garrison reports a difficulty but is not instanced content
-- for this axis, which is why the difficulty test alone is not enough.
function EllesmereUI.IsInInstancedContent()
local _, iType, diffID = GetInstanceInfo()
diffID = tonumber(diffID) or 0
if diffID <= 0 then return false end
local _, iType = GetInstanceInfo()
if C_Garrison and C_Garrison.IsOnGarrisonMap and C_Garrison.IsOnGarrisonMap() then
return false
end
Expand Down