Use default value to denote no play date, rather than null

This commit is contained in:
Dean Herbert
2021-07-20 19:05:08 +09:00
parent 1a8ab77f21
commit 8e1f8c28bd
2 changed files with 4 additions and 4 deletions

View File

@ -227,8 +227,8 @@ namespace osu.Game.Screens.Ranking.Expanded
}
});
if (score.Date != null)
AddInternal(new PlayedOnText(score.Date.Value));
if (score.Date != default)
AddInternal(new PlayedOnText(score.Date));
if (score.Mods.Any())
{