From ec03dc16db09e501fb2c73ab031c32c98faa4e40 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Thu, 9 Jun 2022 14:13:13 +0900 Subject: [PATCH] Don't trigger notification when user quit --- osu.Game/Screens/Play/Player.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 8151bb452e..5548203fe2 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -520,7 +520,8 @@ namespace osu.Game.Screens.Play } catch (Exception e) { - Logger.Error(e, "Could not load beatmap successfully!"); + if (this.IsCurrentScreen()) + Logger.Error(e, "Could not load beatmap successfully!"); //couldn't load, hard abort! return null; }