Skip to content

Commit 55ed90b

Browse files
committed
Fix broken eval screen when watching replay for file without scores
1 parent 3cb6e17 commit 55ed90b

File tree

1 file changed

+3
-0
lines changed
  • Themes/Til Death/BGAnimations/ScreenEvaluation decorations

1 file changed

+3
-0
lines changed

Themes/Til Death/BGAnimations/ScreenEvaluation decorations/scoreboard.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ if GAMESTATE:IsPlayerEnabled(player) then
4444
origTable = getScoresByKey(player)
4545
score = STATSMAN:GetCurStageStats():GetPlayerStageStats(player):GetHighScore()
4646
rtTable = getRateTable(origTable)
47+
if rtTable == nil then
48+
return
49+
end
4750
hsTable = rtTable[getRate(score)] or {score}
4851
scoreIndex = getHighScoreIndex(hsTable, score)
4952
end

0 commit comments

Comments
 (0)