1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Fix another case of test ruleset without overriding ShortName primary key

This commit is contained in:
Dean Herbert 2022-01-11 15:44:33 +09:00
parent cd88ccab4f
commit 6613a7e4ae

View File

@ -459,6 +459,8 @@ namespace osu.Game.Tests.Visual.UserInterface
private class TestUnimplementedModOsuRuleset : OsuRuleset private class TestUnimplementedModOsuRuleset : OsuRuleset
{ {
public override string ShortName => "unimplemented";
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() });