mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 09:07:18 +08:00
Seal SetRecordTarget method to simplify modification
This commit is contained in:
parent
558955d65d
commit
51e8a05f18
@ -268,7 +268,7 @@ namespace osu.Game.Rulesets.UI
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void SetRecordTarget(Replay recordingReplay)
|
||||
public sealed override void SetRecordTarget(Replay recordingReplay)
|
||||
{
|
||||
if (!(KeyBindingInputManager is IHasRecordingHandler recordingInputManager))
|
||||
throw new InvalidOperationException($"A {nameof(KeyBindingInputManager)} which supports recording is not available");
|
||||
|
Loading…
x
Reference in New Issue
Block a user