mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 05:02:56 +08:00
Fix rulesets not being registered for VisualTests.
This commit is contained in:
parent
b61521a93c
commit
37edbd355e
@ -5,6 +5,11 @@ using System;
|
|||||||
using osu.Framework.Desktop;
|
using osu.Framework.Desktop;
|
||||||
using osu.Framework.Desktop.Platform;
|
using osu.Framework.Desktop.Platform;
|
||||||
using osu.Framework.Platform;
|
using osu.Framework.Platform;
|
||||||
|
using osu.Game.Modes;
|
||||||
|
using osu.Game.Modes.Catch;
|
||||||
|
using osu.Game.Modes.Mania;
|
||||||
|
using osu.Game.Modes.Osu;
|
||||||
|
using osu.Game.Modes.Taiko;
|
||||||
|
|
||||||
namespace osu.Desktop.VisualTests
|
namespace osu.Desktop.VisualTests
|
||||||
{
|
{
|
||||||
@ -15,6 +20,11 @@ namespace osu.Desktop.VisualTests
|
|||||||
{
|
{
|
||||||
using (BasicGameHost host = Host.GetSuitableHost(@"osu-visual-tests"))
|
using (BasicGameHost host = Host.GetSuitableHost(@"osu-visual-tests"))
|
||||||
{
|
{
|
||||||
|
Ruleset.Register(new OsuRuleset());
|
||||||
|
Ruleset.Register(new TaikoRuleset());
|
||||||
|
Ruleset.Register(new ManiaRuleset());
|
||||||
|
Ruleset.Register(new CatchRuleset());
|
||||||
|
|
||||||
host.Add(new VisualTestGame());
|
host.Add(new VisualTestGame());
|
||||||
host.Run();
|
host.Run();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user