mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Expose Mods in DrawableRuleset to avoid using external DI
This commit is contained in:
@ -92,7 +92,7 @@ namespace osu.Game.Rulesets.UI
|
||||
protected IRulesetConfigManager Config { get; private set; }
|
||||
|
||||
[Cached(typeof(IReadOnlyList<Mod>))]
|
||||
protected override IReadOnlyList<Mod> Mods { get; }
|
||||
public sealed override IReadOnlyList<Mod> Mods { get; }
|
||||
|
||||
private FrameStabilityContainer frameStabilityContainer;
|
||||
|
||||
@ -434,7 +434,7 @@ namespace osu.Game.Rulesets.UI
|
||||
/// <summary>
|
||||
/// The mods which are to be applied.
|
||||
/// </summary>
|
||||
protected abstract IReadOnlyList<Mod> Mods { get; }
|
||||
public abstract IReadOnlyList<Mod> Mods { get; }
|
||||
|
||||
/// <summary>~
|
||||
/// The associated ruleset.
|
||||
|
Reference in New Issue
Block a user