Move caching of IBeatmap to base DrawableRuleset

This commit is contained in:
Dean Herbert
2021-05-01 21:32:45 +09:00
parent db815f7930
commit a551958eeb
2 changed files with 1 additions and 4 deletions

View File

@ -85,6 +85,7 @@ namespace osu.Game.Rulesets.UI
/// <summary>
/// The beatmap.
/// </summary>
[Cached(typeof(IBeatmap))]
public readonly Beatmap<TObject> Beatmap;
public override IEnumerable<HitObject> Objects => Beatmap.HitObjects;