Move statics to RulesetCollection to avoid conflicts later on.

This commit is contained in:
smoogipooo
2017-04-15 04:53:37 +09:00
parent 9927f9aca5
commit 59bfc7abad
16 changed files with 67 additions and 42 deletions

View File

@ -41,10 +41,10 @@ namespace osu.Desktop
}
else
{
Ruleset.Register(new OsuRuleset());
Ruleset.Register(new TaikoRuleset());
Ruleset.Register(new ManiaRuleset());
Ruleset.Register(new CatchRuleset());
RulesetCollection.Register(typeof(OsuRuleset));
RulesetCollection.Register(typeof(TaikoRuleset));
RulesetCollection.Register(typeof(ManiaRuleset));
RulesetCollection.Register(typeof(CatchRuleset));
host.Run(new OsuGameDesktop(args));
}