mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
IsInSeason() -> IsInSeason
This commit is contained in:
parent
4e3fb615d2
commit
d19dd4eef6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user