mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00: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;
|
||||
}
|
||||
|
||||
private class TestUnimplementedModOsuRuleset : OsuRuleset
|
||||
private class TestUnimplementedModOsuRuleset : OsuRuleset, ILegacyRuleset
|
||||
{
|
||||
public override string ShortName => "unimplemented";
|
||||
|
||||
int ILegacyRuleset.LegacyID => -1;
|
||||
|
||||
public override IEnumerable<Mod> GetModsFor(ModType type)
|
||||
{
|
||||
if (type == ModType.Conversion) return base.GetModsFor(type).Concat(new[] { new TestUnimplementedMod() });
|
||||
|
Loading…
Reference in New Issue
Block a user