mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Do not try to set ruleset from beatmap if it's a dummy
This commit is contained in:
parent
93b3ede2a0
commit
3ab8158b92
@ -65,6 +65,7 @@ namespace osu.Game.Screens.Edit
|
||||
base.LoadComplete();
|
||||
|
||||
// will be restored via lease, see `DisallowExternalBeatmapRulesetChanges`.
|
||||
if (!(Beatmap.Value is DummyWorkingBeatmap))
|
||||
Ruleset.Value = Beatmap.Value.BeatmapInfo.Ruleset;
|
||||
Mods.Value = Array.Empty<Mod>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user