1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-01 21:22:57 +08:00

Merge branch 'master' into search-filter

This commit is contained in:
solstice23 2022-07-23 18:22:49 +08:00 committed by GitHub
commit 576472794b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,11 @@ namespace osu.Game.Tests.Visual
API.Login("Rhythm Champion", "osu!");
Dependencies.Get<SessionStatics>().SetValue(Static.MutedAudioNotificationShownOnce, true);
// set applied version to latest so that the BackgroundBeatmapProcessor doesn't consider
// beatmap star ratings as outdated and reset them throughout the test.
foreach (var ruleset in RulesetStore.AvailableRulesets)
ruleset.LastAppliedDifficultyVersion = ruleset.CreateInstance().CreateDifficultyCalculator(Beatmap.Default).Version;
}
protected override void Update()