Replacing table.wipe with Details:Destroy()
This commit is contained in:
parent
fa0d1e1d08
commit
0cdfa2b900
40 changed files with 1205 additions and 1322 deletions
|
|
@ -453,10 +453,10 @@ function Details:OpenRaidHistoryWindow(raidName, bossEncounterId, difficultyId,
|
|||
local currentGuild = guildDropdown.value
|
||||
|
||||
--wipe data
|
||||
wipe(difficultyList)
|
||||
wipe(bossList)
|
||||
wipe(raidList)
|
||||
wipe(guildList)
|
||||
Details:Destroy(difficultyList)
|
||||
Details:Destroy(bossList)
|
||||
Details:Destroy(raidList)
|
||||
Details:Destroy(guildList)
|
||||
|
||||
local bossRepeated = {}
|
||||
local raidRepeated = {}
|
||||
|
|
@ -618,8 +618,8 @@ function Details:OpenRaidHistoryWindow(raidName, bossEncounterId, difficultyId,
|
|||
|
||||
local raidSelected = DetailsRaidHistoryWindow.select_raid:GetValue()
|
||||
local bossRepeated = {}
|
||||
wipe(bossList)
|
||||
wipe(difficultyList)
|
||||
Details:Destroy(bossList)
|
||||
Details:Destroy(difficultyList)
|
||||
|
||||
for difficulty, encounterIdTable in pairs(db) do
|
||||
if (type(difficulty) == "number" and allowedKeysForDifficulty[difficulty]) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue