Skip to content

Commit

Permalink
fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwasyx committed Dec 15, 2023
1 parent 7ed801b commit f544e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Other/ScoreSaberLeaderboardView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ namespace ScoreSaber::UI::Other::ScoreSaberLeaderboardView
}
if (internalLeaderboard.leaderboard.has_value())
{
SetRankedStatus(internalLeaderboard.leaderboard->leaderboardInfo);
int playerScoreIndex = GetPlayerScoreIndex(internalLeaderboard.leaderboard.value().scores);
if (internalLeaderboard.leaderboardItems->get_Count() != 0)
{
Expand All @@ -372,7 +373,6 @@ namespace ScoreSaber::UI::Other::ScoreSaberLeaderboardView
loadingControl->ShowText(System::String::_get_Empty(), false);
loadingControl->Hide();
leaderboardScoreInfoButtonHandler->set_scoreCollection(internalLeaderboard.leaderboard.value().scores, internalLeaderboard.leaderboard->leaderboardInfo.id);
SetRankedStatus(internalLeaderboard.leaderboard->leaderboardInfo);
}
}
else
Expand Down

0 comments on commit f544e65

Please sign in to comment.