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

Allow DI'd OnScreenDisplay to be null

This commit is contained in:
Dean Herbert 2018-01-23 16:42:31 +09:00
parent 1fda45fe10
commit b197cd56af

View File

@ -88,7 +88,7 @@ namespace osu.Game.Rulesets.UI
Cursor = CreateCursor();
}
[BackgroundDependencyLoader]
[BackgroundDependencyLoader(true)]
private void load(Storage storage, OnScreenDisplay onScreenDisplay)
{
this.onScreenDisplay = onScreenDisplay;