mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Fix failing test case
This commit is contained in:
parent
6f0e32826c
commit
c29cc78853
@ -457,10 +457,12 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
public override ModType Type => ModType.Conversion;
|
public override ModType Type => ModType.Conversion;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class TestUnimplementedModOsuRuleset : OsuRuleset
|
private class TestUnimplementedModOsuRuleset : OsuRuleset, ILegacyRuleset
|
||||||
{
|
{
|
||||||
public override string ShortName => "unimplemented";
|
public override string ShortName => "unimplemented";
|
||||||
|
|
||||||
|
int ILegacyRuleset.LegacyID => -1;
|
||||||
|
|
||||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||||
{
|
{
|
||||||
if (type == ModType.Conversion) return base.GetModsFor(type).Concat(new[] { new TestUnimplementedMod() });
|
if (type == ModType.Conversion) return base.GetModsFor(type).Concat(new[] { new TestUnimplementedMod() });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user