Update InputHandlers in line with framework changes

This commit is contained in:
Dean Herbert
2020-07-19 11:04:33 +09:00
parent fb5a54d242
commit 648e414c14
7 changed files with 26 additions and 44 deletions

View File

@ -18,6 +18,9 @@ namespace osu.Game.Rulesets.Mania.Replays
protected override bool IsImportant(ManiaReplayFrame frame) => frame.Actions.Any();
public override List<IInput> GetPendingInputs() => new List<IInput> { new ReplayState<ManiaAction> { PressedActions = CurrentFrame?.Actions ?? new List<ManiaAction>() } };
public override void GetPendingInputs(List<IInput> input)
{
input.Add(new ReplayState<ManiaAction> { PressedActions = CurrentFrame?.Actions ?? new List<ManiaAction>() });
}
}
}