mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Do not try to set ruleset from beatmap if it's a dummy
This commit is contained in:
@ -65,7 +65,8 @@ namespace osu.Game.Screens.Edit
|
|||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
// will be restored via lease, see `DisallowExternalBeatmapRulesetChanges`.
|
// will be restored via lease, see `DisallowExternalBeatmapRulesetChanges`.
|
||||||
Ruleset.Value = Beatmap.Value.BeatmapInfo.Ruleset;
|
if (!(Beatmap.Value is DummyWorkingBeatmap))
|
||||||
|
Ruleset.Value = Beatmap.Value.BeatmapInfo.Ruleset;
|
||||||
Mods.Value = Array.Empty<Mod>();
|
Mods.Value = Array.Empty<Mod>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user