1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Remove unnecessary null check

This commit is contained in:
Dean Herbert 2019-01-04 15:49:23 +09:00
parent b6dc6c4a74
commit 7d1163a7d2

View File

@ -297,7 +297,7 @@ namespace osu.Game.Screens.Play
protected virtual ScoreInfo CreateScore()
{
var score = RulesetContainer?.ReplayScore?.ScoreInfo ?? new ScoreInfo
var score = RulesetContainer.ReplayScore?.ScoreInfo ?? new ScoreInfo
{
Beatmap = Beatmap.Value.BeatmapInfo,
Ruleset = ruleset,