1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 18:44:04 +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
Unverified
parent cebd38c6eb
commit f1a84a5111
@@ -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)