mirror of https://github.com/ppy/osu
IsInSeason() -> IsInSeason
This commit is contained in:
parent
4e3fb615d2
commit
d19dd4eef6
|
@ -53,7 +53,7 @@ public SeasonalBackground LoadBackground()
|
|||
return new SeasonalBackground(url);
|
||||
}
|
||||
|
||||
public bool IsInSeason() => DateTimeOffset.Now < endDate.Value;
|
||||
public bool IsInSeason => DateTimeOffset.Now < endDate.Value;
|
||||
}
|
||||
|
||||
[LongRunningLoad]
|
||||
|
|
|
@ -109,7 +109,7 @@ private Background createBackground()
|
|||
switch (seasonalBackgroundMode.Value)
|
||||
{
|
||||
case SeasonalBackgroundMode.Sometimes:
|
||||
if (seasonalBackgroundLoader.IsInSeason())
|
||||
if (seasonalBackgroundLoader.IsInSeason)
|
||||
goto case SeasonalBackgroundMode.Always;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue