From a63923a4971f133635a1a50d56c48705e1d5e05b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 21 Aug 2017 12:50:48 +0900 Subject: [PATCH] Remove type check for now --- osu.Game/Rulesets/UI/RulesetContainer.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/osu.Game/Rulesets/UI/RulesetContainer.cs b/osu.Game/Rulesets/UI/RulesetContainer.cs index 1e294827ab..50fcaa128c 100644 --- a/osu.Game/Rulesets/UI/RulesetContainer.cs +++ b/osu.Game/Rulesets/UI/RulesetContainer.cs @@ -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; }