Make "Sometimes" setting depend on season end date, rather than chance

This commit is contained in:
Max Hübner
2020-10-30 10:27:43 +01:00
parent fb1e09b3e7
commit f27ce7521d
4 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Game.Online.API.Requests.Responses;
@ -15,6 +16,7 @@ namespace osu.Game.Configuration
{
Set(Static.LoginOverlayDisplayed, false);
Set(Static.MutedAudioNotificationShownOnce, false);
Set(Static.SeasonEndDate, DateTimeOffset.MinValue);
Set(Static.SeasonalBackgrounds, new List<APISeasonalBackground>());
}
}
@ -23,6 +25,7 @@ namespace osu.Game.Configuration
{
LoginOverlayDisplayed,
MutedAudioNotificationShownOnce,
SeasonalBackgrounds
SeasonEndDate,
SeasonalBackgrounds,
}
}