mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Give HitRenderer a reference to Ruleset
Used to get correct bindings for a mode (ActionMappingInputManager).
This commit is contained in:
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets
|
||||
continue;
|
||||
|
||||
foreach (Type rulesetType in rulesets)
|
||||
instances.Add((Ruleset)Activator.CreateInstance(rulesetType));
|
||||
instances.Add((Ruleset)Activator.CreateInstance(rulesetType, new RulesetInfo()));
|
||||
}
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
Reference in New Issue
Block a user