1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 12:42:54 +08:00

Fix overlay activation mode being updated when player is not current screen.

This commit is contained in:
Lucas A 2020-08-10 20:27:42 +02:00
parent 052bb06c91
commit f74e162bbc

View File

@ -363,6 +363,9 @@ namespace osu.Game.Screens.Play
private void updateOverlayActivationMode()
{
if (!this.IsCurrentScreen())
return;
bool canTriggerOverlays = DrawableRuleset.IsPaused.Value || breakTracker.IsBreakTime.Value || !gameplayOverlaysDisabled.Value;
if (DrawableRuleset.HasReplayLoaded.Value || canTriggerOverlays)