1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 16:27:43 +08:00

Fix ruleset not being reset correctly in tests

This commit is contained in:
Dan Balasescu 2024-10-22 14:20:10 +09:00
parent def499e7cb
commit 17702ead0b
No known key found for this signature in database

View File

@ -45,7 +45,7 @@ namespace osu.Game.Tests.Visual.UserInterface
public void Setup() => Schedule(() => public void Setup() => Schedule(() =>
{ {
SelectedMods.SetDefault(); SelectedMods.SetDefault();
Ruleset.SetDefault(); Ruleset.Value = new OsuRuleset().RulesetInfo;
Beatmap.Value = CreateWorkingBeatmap(new TestBeatmap(new OsuRuleset().RulesetInfo) Beatmap.Value = CreateWorkingBeatmap(new TestBeatmap(new OsuRuleset().RulesetInfo)
{ {
BeatmapInfo = BeatmapInfo =