From 57cbecba834645259e5dbcaadafcaf6d9948e371 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 6 Mar 2017 22:08:02 +0900 Subject: [PATCH] Required changes for framework merge (https://github.com/ppy/osu-framework/pull/554). --- osu.Game/Screens/Play/Player.cs | 2 +- osu.Game/Screens/Play/PlayerInputManager.cs | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 4dc6db7aac..3bea251cf1 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -148,7 +148,7 @@ namespace osu.Game.Screens.Play Children = new Drawable[] { - playerInputManager = new PlayerInputManager(game.Host) + playerInputManager = new PlayerInputManager { Clock = new InterpolatingFramedClock(sourceClock), Children = new Drawable[] diff --git a/osu.Game/Screens/Play/PlayerInputManager.cs b/osu.Game/Screens/Play/PlayerInputManager.cs index 181cd68da9..4fa37edfd2 100644 --- a/osu.Game/Screens/Play/PlayerInputManager.cs +++ b/osu.Game/Screens/Play/PlayerInputManager.cs @@ -5,7 +5,6 @@ using OpenTK.Input; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Input; -using osu.Framework.Platform; using osu.Game.Configuration; using System.Linq; @@ -13,11 +12,6 @@ namespace osu.Game.Screens.Play { class PlayerInputManager : UserInputManager { - public PlayerInputManager(GameHost host) - : base(host) - { - } - bool leftViaKeyboard; bool rightViaKeyboard; Bindable mouseDisabled;