General fixes
This commit is contained in:
+1
-1
@@ -539,7 +539,7 @@ function Details.Coach.WelcomePanel()
|
||||
hasAssistantsTexture:SetTexCoord(0, 0.5, 0, 0.5)
|
||||
end
|
||||
|
||||
local isInCorrectGroup = false
|
||||
local isInCorrectGroup = true --debug
|
||||
for i = 1, numRaidMembers do
|
||||
local name, rank, subgroup, level, class, fileName, zone, online, isDead, role, isML = GetRaidRosterInfo(i)
|
||||
if (name == playerName) then
|
||||
|
||||
+5
-3
@@ -461,9 +461,11 @@ function Details.packFunctions.PackDamage(combatObject)
|
||||
local allPlayerNames = {}
|
||||
for i = 1, 20 do
|
||||
local name, _, subgroup = GetRaidRosterInfo(i)
|
||||
name = Ambiguate(name, "none")
|
||||
if (name and subgroup <= 4) then
|
||||
tinsert(allPlayerNames, name)
|
||||
if (name) then --maybe the group has less than 20 players
|
||||
name = Ambiguate(name, "none")
|
||||
if (name and subgroup <= 4) then
|
||||
tinsert(allPlayerNames, name)
|
||||
end
|
||||
end
|
||||
end
|
||||
table.sort(allPlayerNames, function(t1, t2) return t1 < t2 end)
|
||||
|
||||
Reference in New Issue
Block a user