1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 10:50:55 +08:00

Don't show global rankings display when not logged in

This commit is contained in:
Bartłomiej Dach
2022-12-24 11:27:42 +01:00
Unverified
parent 145130ba80
commit 36a6f3685e
@@ -27,7 +27,10 @@ namespace osu.Game.Screens.Ranking.Statistics
{
var rows = base.CreateStatisticRows(newScore, playableBeatmap);
if (newScore.UserID == achievedScore.UserID && newScore.OnlineID == achievedScore.OnlineID)
if (newScore.UserID > 1
&& newScore.UserID == achievedScore.UserID
&& newScore.OnlineID > 0
&& newScore.OnlineID == achievedScore.OnlineID)
{
rows = rows.Append(new StatisticRow
{