1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Make missing date check more robust

This commit is contained in:
Bartłomiej Dach 2020-11-23 21:09:42 +01:00
parent 20f1775ddb
commit e9ffeb8b5d

View File

@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
static bool hasMissingDates(UserHistoryCount prev, UserHistoryCount current)
{
var possibleCurrent = prev.Date.AddMonths(1);
return possibleCurrent != current.Date;
return possibleCurrent < current.Date;
}
}