This commit is contained in:
Tercio Jose
2021-04-04 12:54:27 -03:00
parent 10936adf71
commit 5a1cef5001
+4 -4
View File
@@ -434,8 +434,8 @@
local line1 = _G ["DetailsPetOwnerFinderTextLeft2"]
local text1 = line1 and line1:GetText()
if (text1 and text1 ~= "") then
for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do
--for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do
--for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do
for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do
local pName = playerName
playerName = playerName:gsub ("%-.*", "") --remove realm name
@@ -462,8 +462,8 @@
local line2 = _G ["DetailsPetOwnerFinderTextLeft3"]
local text2 = line2 and line2:GetText()
if (text2 and text2 ~= "") then
--for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do
for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do
for playerName, _ in _pairs (_detalhes.tabela_vigente.raid_roster) do
--for _, playerName in ipairs(Details.tabela_vigente.raid_roster_indexed) do
local pName = playerName
playerName = playerName:gsub ("%-.*", "") --remove realm name