mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Allow SetReplay to receive null.
This commit is contained in:
@ -72,7 +72,7 @@ namespace osu.Game.Modes.UI
|
||||
|
||||
protected virtual FramedReplayInputHandler CreateReplayInputHandler(Replay replay) => new FramedReplayInputHandler(replay);
|
||||
|
||||
public void SetReplay(Replay replay) => InputManager.ReplayInputHandler = CreateReplayInputHandler(replay);
|
||||
public void SetReplay(Replay replay) => InputManager.ReplayInputHandler = replay != null ? CreateReplayInputHandler(replay) : null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user