Rename incorrect variable

This commit is contained in:
Dean Herbert 2020-03-24 15:39:01 +09:00
parent 388cf5c83a
commit 448961b330

View File

@ -264,7 +264,7 @@ namespace osu.Game.Rulesets.UI
public override void SetRecordTarget(Replay recordingReplay)
{
if (!(KeyBindingInputManager is IHasRecordingHandler recordingInputHandler))
if (!(KeyBindingInputManager is IHasRecordingHandler recordingInputManager))
throw new InvalidOperationException($"A {nameof(KeyBindingInputManager)} which supports recording is not available");
var recorder = CreateReplayRecorder(recordingReplay);
@ -274,7 +274,7 @@ namespace osu.Game.Rulesets.UI
recorder.ScreenSpaceToGamefield = Playfield.ScreenSpaceToGamefield;
recordingInputHandler.Recorder = recorder;
recordingInputManager.Recorder = recorder;
}
public override void SetReplayScore(Score replayScore)