1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 20:22:58 +08:00

Do not show daily challenge conclusion notification on disconnection

Closes https://github.com/ppy/osu/issues/30194.
This commit is contained in:
Bartłomiej Dach 2024-10-11 14:18:19 +02:00
parent 9d1eb842a7
commit 968835bb44
No known key found for this signature in database

View File

@ -410,7 +410,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
private void dailyChallengeChanged(ValueChangedEvent<DailyChallengeInfo?> change)
{
if (change.OldValue?.RoomID == room.RoomID.Value && change.NewValue == null)
if (change.OldValue?.RoomID == room.RoomID.Value && change.NewValue == null && metadataClient.IsConnected.Value)
{
notificationOverlay?.Post(new SimpleNotification { Text = DailyChallengeStrings.ChallengeEndedNotification });
}