mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +08:00
Remove allowance of null dependency
This commit is contained in:
parent
18251c9285
commit
a3896a8ebd
@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
public int RecordFrameRate = 60;
|
||||
|
||||
[Resolved(canBeNull: true)]
|
||||
[Resolved]
|
||||
private SpectatorClient spectatorClient { get; set; }
|
||||
|
||||
[Resolved]
|
||||
@ -48,8 +48,7 @@ namespace osu.Game.Rulesets.UI
|
||||
base.LoadComplete();
|
||||
|
||||
inputManager = GetContainingInputManager();
|
||||
|
||||
spectatorClient?.BeginPlaying(gameplayState, target);
|
||||
spectatorClient.BeginPlaying(gameplayState, target);
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
|
Loading…
Reference in New Issue
Block a user