Make SeasonalBackgroundLoader read from SessionStatics

This commit is contained in:
Max Hübner
2020-10-29 17:31:42 +01:00
parent 76c0a790b4
commit 907e1921c7
2 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,9 @@
// 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.Collections.Generic;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Configuration
{
/// <summary>
@ -12,12 +15,14 @@ namespace osu.Game.Configuration
{
Set(Static.LoginOverlayDisplayed, false);
Set(Static.MutedAudioNotificationShownOnce, false);
Set(Static.SeasonalBackgrounds, new List<APISeasonalBackground>());
}
}
public enum Static
{
LoginOverlayDisplayed,
MutedAudioNotificationShownOnce
MutedAudioNotificationShownOnce,
SeasonalBackgrounds
}
}