mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 23:23:04 +08:00
Make missing date check more robust
This commit is contained in:
parent
20f1775ddb
commit
e9ffeb8b5d
@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
|||||||
static bool hasMissingDates(UserHistoryCount prev, UserHistoryCount current)
|
static bool hasMissingDates(UserHistoryCount prev, UserHistoryCount current)
|
||||||
{
|
{
|
||||||
var possibleCurrent = prev.Date.AddMonths(1);
|
var possibleCurrent = prev.Date.AddMonths(1);
|
||||||
return possibleCurrent != current.Date;
|
return possibleCurrent < current.Date;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user