Skip to content

Commit 5112b8a

Browse files
committed
DT: guild count was always zero
1 parent 6ac5f2f commit 5112b8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ElvUI/Game/Shared/Modules/DataTexts/Guild.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ local function OnEnter(_, _, noUpdate)
243243
DT.tooltip:ClearLines()
244244

245245
local shiftDown = IsShiftKeyDown()
246-
local total, _, online = GetNumGuildMembers()
246+
local total, mobile, online = GetNumGuildMembers() -- mobile arg was removed in 10.2
247+
if not online then online = mobile or 0 end
247248
if not total then total = 0 end
248-
if not online then online = 0 end
249249

250250
if #guildTable == 0 then BuildGuildTable() end
251251

0 commit comments

Comments
 (0)