1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 19:33:20 +08:00

Fix broken test scene

This commit is contained in:
Andrei Zavatski 2020-11-14 21:20:37 +03:00
parent fe9d17fc56
commit a52c98b55c
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
{
}
protected override UserHistoryCount[] GetValues(User user) => user.MonthlyPlaycounts;
protected override UserHistoryCount[] GetValues(User user) => user?.MonthlyPlaycounts;
}
}

View File

@ -14,6 +14,6 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
{
}
protected override UserHistoryCount[] GetValues(User user) => user.ReplaysWatchedCounts;
protected override UserHistoryCount[] GetValues(User user) => user?.ReplaysWatchedCounts;
}
}