mirror of
https://github.com/ppy/osu
synced 2025-03-07 20:09:57 +00: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:
parent
cebd38c6eb
commit
f1a84a5111
@ -454,6 +454,9 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
|||||||
{
|
{
|
||||||
base.OnResuming(e);
|
base.OnResuming(e);
|
||||||
applyLoopingToTrack();
|
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)
|
public override void OnSuspending(ScreenTransitionEvent e)
|
||||||
|
Loading…
Reference in New Issue
Block a user