1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 14:12:55 +08:00

Disallow null references for dependencies loaded via load()

This commit is contained in:
Lucas A 2019-06-02 15:17:03 +02:00
parent 0a867e37af
commit d8f45f7299

View File

@ -24,7 +24,7 @@ namespace osu.Game.Overlays.Settings
[Resolved(CanBeNull = true)]
private ChangelogOverlay changelog { get; set; }
[BackgroundDependencyLoader(true)]
[BackgroundDependencyLoader]
private void load(OsuGameBase game, OsuColour colours, RulesetStore rulesets)
{
RelativeSizeAxes = Axes.X;