mirror of
https://github.com/ppy/osu.git
synced 2026-05-20 22:21:10 +08:00
IsInSeason() -> IsInSeason
This commit is contained in:
@@ -53,7 +53,7 @@ namespace osu.Game.Graphics.Backgrounds
|
||||
return new SeasonalBackground(url);
|
||||
}
|
||||
|
||||
public bool IsInSeason() => DateTimeOffset.Now < endDate.Value;
|
||||
public bool IsInSeason => DateTimeOffset.Now < endDate.Value;
|
||||
}
|
||||
|
||||
[LongRunningLoad]
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
switch (seasonalBackgroundMode.Value)
|
||||
{
|
||||
case SeasonalBackgroundMode.Sometimes:
|
||||
if (seasonalBackgroundLoader.IsInSeason())
|
||||
if (seasonalBackgroundLoader.IsInSeason)
|
||||
goto case SeasonalBackgroundMode.Always;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user