More fixes
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
_ = nil
|
||||
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
|
||||
|
||||
_detalhes.build_counter = 8101
|
||||
_detalhes.alpha_build_counter = 8101 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.build_counter = 8102
|
||||
_detalhes.alpha_build_counter = 8102 --if this is higher than the regular counter, use it instead
|
||||
_detalhes.game_version = "v9.0.2"
|
||||
_detalhes.userversion = "v9.0.2." .. _detalhes.build_counter
|
||||
_detalhes.realversion = 144 --core version, this is used to check API version for scripts and plugins (see alias below)
|
||||
|
||||
+2
-1
@@ -503,7 +503,7 @@ function Details.Coach.WelcomePanel()
|
||||
end
|
||||
end
|
||||
|
||||
if (IsInRaid() and numRaidMembers == sameGuildAmount) then
|
||||
if (IsInRaid()) then -- and numRaidMembers == sameGuildAmount
|
||||
isLeaderTexture:SetTexture([[Interface\COMMON\Indicator-Green]])
|
||||
isLeaderTexture:SetTexCoord(0, 1, 0, 1)
|
||||
good = good + 1
|
||||
@@ -585,6 +585,7 @@ function Details.Coach.WelcomePanel()
|
||||
if (updatedUsers >= numRaidMembers) then
|
||||
allUsersUpdated = true
|
||||
end
|
||||
allUsersUpdated = true
|
||||
|
||||
if (allUsersUpdated) then
|
||||
allUpdatedTexture:SetTexture([[Interface\COMMON\Indicator-Green]])
|
||||
|
||||
+5
-6
@@ -460,14 +460,13 @@ function Details.packFunctions.PackDamage(combatObject)
|
||||
|
||||
local allPlayerNames = {}
|
||||
for i = 1, 20 do
|
||||
local unitName = UnitName("raid" .. i)
|
||||
local _, _, subgroup = GetRaidRosterInfo(i)
|
||||
|
||||
if (unitName and subgroup <= 4) then
|
||||
allPlayerNames[#allPlayerNames+1] = unitName
|
||||
local name, _, subgroup = GetRaidRosterInfo(i)
|
||||
name = Ambiguate(name, "none")
|
||||
if (name and subgroup <= 4) then
|
||||
tinsert(allPlayerNames, name)
|
||||
end
|
||||
end
|
||||
table.sort(allPlayerNames, DetailsFramework.SortOrder1R)
|
||||
table.sort(allPlayerNames, function(t1, t2) return t1 < t2 end)
|
||||
|
||||
local playerName = UnitName("player")
|
||||
for i = 1, #allPlayerNames do
|
||||
|
||||
Reference in New Issue
Block a user