Rewrite on storage and internal ranking system

This commit is contained in:
Tercio Jose
2024-07-09 23:41:47 -03:00
committed by andrew6180
parent 904a7eab1b
commit a02e5d4bc6
14 changed files with 822 additions and 610 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ function Details:OpenRaidHistoryWindow(raidName, bossEncounterId, difficultyId,
table.insert(UISpecialFrames, "DetailsRaidHistoryWindow")
function statisticsFrame.OpenDB()
local db = Details.storage:OpenRaidStorage()
local db = Details222.storage.OpenRaidStorage()
if (not db) then
Details:Msg(Loc ["STRING_GUILDDAMAGERANK_DATABASEERROR"])
return
@@ -128,7 +128,7 @@ function Details:OpenRaidHistoryWindow(raidName, bossEncounterId, difficultyId,
statisticsFrame.DownloadedSize = 0
statisticsFrame.SyncStartTime = time()
Details.storage:DBGuildSync()
Details222.storage.DBGuildSync()
statisticsFrame.GuildSyncButton:Disable()
if (not statisticsFrame.SyncTexture) then