mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 10:47:22 +09:00
fix: delete rulesets
This commit is contained in:
parent
b035f98742
commit
75b2bc7845
@ -9,11 +9,8 @@ using osu.Framework.Platform;
|
|||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Beatmaps.Legacy;
|
using osu.Game.Beatmaps.Legacy;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
using osu.Game.Rulesets.Catch;
|
|
||||||
using osu.Game.Rulesets.Mania;
|
|
||||||
using osu.Game.Rulesets.Mods;
|
using osu.Game.Rulesets.Mods;
|
||||||
using osu.Game.Rulesets.Osu;
|
using osu.Game.Rulesets.Osu;
|
||||||
using osu.Game.Rulesets.Taiko;
|
|
||||||
|
|
||||||
#nullable enable
|
#nullable enable
|
||||||
|
|
||||||
@ -103,15 +100,6 @@ namespace osu.Desktop.LegacyIpc
|
|||||||
case 0:
|
case 0:
|
||||||
return new OsuRuleset();
|
return new OsuRuleset();
|
||||||
|
|
||||||
case 1:
|
|
||||||
return new TaikoRuleset();
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
return new CatchRuleset();
|
|
||||||
|
|
||||||
case 3:
|
|
||||||
return new ManiaRuleset();
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw new ArgumentException("Invalid ruleset id");
|
throw new ArgumentException("Invalid ruleset id");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user