mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Remove redundant assertion
It does look pretty dumb to be checking if something is `null` *after calling an instance method on it*...
This commit is contained in:
parent
fdd499a485
commit
4d253ebf3c
@ -187,8 +187,6 @@ namespace osu.Game.Scoring.Legacy
|
||||
var rulesetInstance = ruleset.CreateInstance();
|
||||
var scoreProcessor = rulesetInstance.CreateScoreProcessor();
|
||||
|
||||
Debug.Assert(rulesetInstance != null);
|
||||
|
||||
// Populate the maximum statistics.
|
||||
HitResult maxBasicResult = rulesetInstance.GetHitResults()
|
||||
.Select(h => h.result)
|
||||
|
Loading…
Reference in New Issue
Block a user