1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 00:07:19 +08:00

Remove type check for now

This commit is contained in:
Dean Herbert 2017-08-21 12:50:48 +09:00
parent 16e96888ab
commit a63923a497

View File

@ -77,8 +77,6 @@ namespace osu.Game.Rulesets.UI
{
Ruleset = ruleset;
KeyBindingInputManager = CreateInputManager();
if (!(KeyBindingInputManager is ICanAttachKeyCounter))
throw new InvalidOperationException($"Rulesets should create input managers of type {nameof(ICanAttachKeyCounter)}");
KeyBindingInputManager.RelativeSizeAxes = Axes.Both;
}