mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Clean up a few remaining stragglers.
This commit is contained in:
@ -54,7 +54,7 @@ namespace osu.Game.Beatmaps
|
||||
/// Calculates the star difficulty for this Beatmap.
|
||||
/// </summary>
|
||||
/// <returns>The star difficulty.</returns>
|
||||
public double CalculateStarDifficulty() => RulesetCollection.GetRuleset(BeatmapInfo.Mode).CreateDifficultyCalculator(this).Calculate();
|
||||
public double CalculateStarDifficulty() => BeatmapInfo.Ruleset.CreateDifficultyCalculator(this).Calculate();
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new beatmap.
|
||||
|
@ -45,7 +45,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
Origin = Anchor.Centre,
|
||||
TextSize = Size.X,
|
||||
Colour = Color4.White,
|
||||
Icon = RulesetCollection.GetRuleset((int)beatmap.Mode).Icon
|
||||
Icon = beatmap.Ruleset.Icon
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user