1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 04:22:55 +08:00

Fix mods persisting after watching replay from daily challenge screen

Closes https://github.com/ppy/osu/issues/29133.

Hope I can be forgiven for no tests. I had a brief try but writing them
is going to take hours.
This commit is contained in:
Bartłomiej Dach 2024-07-29 12:52:11 +02:00
parent cebd38c6eb
commit f1a84a5111
No known key found for this signature in database

View File

@ -454,6 +454,9 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
{
base.OnResuming(e);
applyLoopingToTrack();
// re-apply mods as they may have been changed by a child screen
// (one known instance of this is showing a replay).
updateMods();
}
public override void OnSuspending(ScreenTransitionEvent e)