Skip to content

Commit 5214e72

Browse files
committed
til death fix unranked chart breaking gameplay leaderboard
1 parent 8220a47 commit 5214e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Themes/Til Death/BGAnimations/ScreenGameplay overlay/leaderboard.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if isMulti then
7070
onlineScores[i] = scoreUsingMultiScore(i)
7171
end
7272
else
73-
onlineScores = DLMAN:GetChartLeaderBoard(GAMESTATE:GetCurrentSteps():GetChartKey())
73+
onlineScores = DLMAN:GetChartLeaderBoard(GAMESTATE:GetCurrentSteps():GetChartKey()) or {}
7474
end
7575
local sortFunction = function(h1, h2)
7676
return h1[CRITERIA](h1) > h2[CRITERIA](h2)

0 commit comments

Comments
 (0)