mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Make BeatmapInfo expose Ruleset instead of PlayMode.
This commit is contained in:
@ -63,7 +63,7 @@ namespace osu.Game.Screens.Play
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio, BeatmapDatabase beatmaps, OsuConfigManager config)
|
||||
{
|
||||
if (Beatmap.Beatmap.BeatmapInfo?.Mode > PlayMode.Taiko)
|
||||
if (Beatmap.Beatmap.BeatmapInfo?.Mode > (int)PlayMode.Taiko)
|
||||
{
|
||||
//we only support osu! mode for now because the hitobject parsing is crappy and needs a refactor.
|
||||
Exit();
|
||||
|
Reference in New Issue
Block a user