mirror of
https://github.com/ppy/osu
synced 2025-02-07 22:01:59 +00:00
Assume we can always fetch the ruleset
This commit is contained in:
parent
7f5f3a4589
commit
84bceca778
@ -100,7 +100,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
||||
StarRatingDisplay starRatingDisplay;
|
||||
|
||||
IBeatmapInfo beatmap = item.Beatmap;
|
||||
Ruleset ruleset = rulesets.GetRuleset(item.Beatmap.Ruleset.ShortName)?.CreateInstance() ?? Ruleset.Value.CreateInstance();
|
||||
Ruleset ruleset = rulesets.GetRuleset(item.Beatmap.Ruleset.ShortName)!.CreateInstance();
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user