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:
parent
fe9d17fc56
commit
a52c98b55c
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user