mirror of
https://github.com/ppy/osu
synced 2025-01-20 13:00:54 +00:00
Change notification interval to 30 minutes
This commit is contained in:
parent
54a1d79136
commit
96bd374b18
@ -155,7 +155,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
// We only want to notify the user if a new challenge recently went live.
|
// We only want to notify the user if a new challenge recently went live.
|
||||||
if (room.StartDate.Value != null
|
if (room.StartDate.Value != null
|
||||||
&& Math.Abs((DateTimeOffset.Now - room.StartDate.Value!.Value).TotalSeconds) < 600
|
&& Math.Abs((DateTimeOffset.Now - room.StartDate.Value!.Value).TotalSeconds) < 1800
|
||||||
&& room.RoomID.Value != lastNotifiedDailyChallengeRoomId)
|
&& room.RoomID.Value != lastNotifiedDailyChallengeRoomId)
|
||||||
{
|
{
|
||||||
lastNotifiedDailyChallengeRoomId = room.RoomID.Value;
|
lastNotifiedDailyChallengeRoomId = room.RoomID.Value;
|
||||||
|
Loading…
Reference in New Issue
Block a user