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
parent 145130ba80
commit 36a6f3685e
No known key found for this signature in database

View File

@ -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
{