mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:35:35 +08:00
Remove unnecessary null check
This commit is contained in:
parent
b6dc6c4a74
commit
7d1163a7d2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user