Skip to content

Commit

Permalink
Merge pull request #29184 from bdach/daily-challenge/wrong-mods-after…
Browse files Browse the repository at this point in the history
…-replay

Fix mods persisting after watching replay from daily challenge screen
  • Loading branch information
peppy authored Jul 29, 2024
2 parents 48e38bd + f1a84a5 commit aa25157
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osu.Game/Screens/OnlinePlay/DailyChallenge/DailyChallenge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ public override void OnResuming(ScreenTransitionEvent e)
{
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)
Expand Down

0 comments on commit aa25157

Please sign in to comment.