diff --git a/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs b/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs index b27b47364..46f0a94ac 100644 --- a/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs +++ b/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs @@ -46,7 +46,7 @@ protected override bool Handle(UIEvent e) protected override void PropagateReleased(IEnumerable drawables, InputState state, SentakkiAction released) { int actionCount = 0; - var pressed = (List)PressedActions; + var pressed = PressedActions; for (int i = 0; i < pressed.Count; ++i) { @@ -61,7 +61,7 @@ protected override void PropagateReleased(IEnumerable drawables, Input } } - public SlimReadOnlyListWrapper PressedActions => ((List)KeyBindingContainer.PressedActions).AsSlimReadOnly(); + public SlimReadOnlyListWrapper PressedActions => KeyBindingContainer.PressedActions; // For makeshift virtual input handling public void TriggerPressed(SentakkiAction action) => KeyBindingContainer.TriggerPressed(action);