Skip to content

Commit

Permalink
fix delayed online leaderboard load theme error
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 24, 2018
1 parent c708453 commit 0d3f2a7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Themes/Til Death/BGAnimations/superscoreboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ local o =
SCREENMAN:GetTopScreen():AddInputCallback(input)
end,
ChartLeaderboardUpdateMessageCommand = function(self)
scoretable = DLMAN:GetChartLeaderBoard(GAMESTATE:GetCurrentSteps(PLAYER_1):GetChartKey(), currentCountry)
ind = 0
self:playcommand("Update")
if GAMESTATE:GetCurrentSong() then
scoretable = DLMAN:GetChartLeaderBoard(GAMESTATE:GetCurrentSteps(PLAYER_1):GetChartKey(), currentCountry)
ind = 0
self:playcommand("Update")
end
end,
BortCommand = function(self)
scoretable = {}
Expand Down

0 comments on commit 0d3f2a7

Please sign in to comment.