Skip to content

Commit

Permalink
Add missing expire call
Browse files Browse the repository at this point in the history
Co-authored-by: Bartłomiej Dach <[email protected]>
  • Loading branch information
peppy and bdach authored Nov 14, 2024
1 parent 9849a88 commit 36d48a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Screens/Play/PlayerLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public override void OnSuspending(ScreenTransitionEvent e)
{
base.OnSuspending(e);

quickRestartBlackLayer?.FadeOut(500, Easing.OutQuint);
quickRestartBlackLayer?.FadeOut(500, Easing.OutQuint).Expire();
quickRestartBlackLayer = null;

BackgroundBrightnessReduction = false;
Expand Down

0 comments on commit 36d48a0

Please sign in to comment.