diff --git a/esoui/ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua b/esoui/ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua
index e032c4a..36423f5 100755
--- a/esoui/ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua
+++ b/esoui/ingame/leaderboards/keyboard/raidleaderboards_keyboard.lua
@@ -3,15 +3,12 @@ local RAID_LEADERBOARD_FRAGMENT
local ZO_RaidLeaderboardsManager_Keyboard = ZO_RaidLeaderboardsManager_Shared:Subclass()
function ZO_RaidLeaderboardsManager_Keyboard:New(...)
- local manager = ZO_RaidLeaderboardsManager_Shared.New(self, ...)
- return manager
+ return ZO_RaidLeaderboardsManager_Shared.New(self, ...)
end
function ZO_RaidLeaderboardsManager_Keyboard:Initialize(control)
RAID_LEADERBOARD_FRAGMENT = ZO_FadeSceneFragment:New(control)
- ZO_RaidLeaderboardsManager_Shared.Initialize(self, control, LEADERBOARDS, LEADERBOARDS_SCENE, RAID_LEADERBOARD_FRAGMENT)
-
self.currentScoreLabel = GetControl(control, "CurrentScore")
self.currentRankLabel = GetControl(control, "CurrentRank")
self.scoringInfoLabel = GetControl(control, "ScoringInfo")
@@ -21,6 +18,8 @@ function ZO_RaidLeaderboardsManager_Keyboard:Initialize(control)
self.scoringInfoHelpIcon = GetControl(control, "ScoringInfoHelp")
self.scoringInfoHelpIcon:SetParent(self.scoringInfoLabel)
+ ZO_RaidLeaderboardsManager_Shared.Initialize(self, control, LEADERBOARDS, LEADERBOARDS_SCENE, RAID_LEADERBOARD_FRAGMENT)
+
self:RegisterForEvents(control)
RAID_LEADERBOARD_FRAGMENT:RegisterCallback("StateChange", function(oldState, newState)
@@ -79,5 +78,6 @@ end
function ZO_RaidLeaderboardsInformationArea_OnInitialized(self)
RAID_LEADERBOARDS = ZO_RaidLeaderboardsManager_Keyboard:New(self)
+ LEADERBOARDS:UpdateCategories()
SYSTEMS:RegisterKeyboardObject(RAID_LEADERBOARD_SYSTEM_NAME, RAID_LEADERBOARDS)
end
\ No newline at end of file