fixed if statement format

This commit is contained in:
Ianlucht 2024-09-07 14:01:38 -06:00
parent e6f81abc3b
commit cd94d6e2bc
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ private void load(OsuGame? game, SessionStatics statics)
Content.Add(card = new BeatmapCardNano((APIBeatmapSet)room.Playlist.Single().Beatmap.BeatmapSet!));
Activated = () =>
{
if(statics.Get<bool>(Static.DailyChallengeIntroPlayed))
if (statics.Get<bool>(Static.DailyChallengeIntroPlayed))
game?.PerformFromScreen(s => s.Push(new DailyChallenge(room)), [typeof(MainMenu)]);
else
game?.PerformFromScreen(s => s.Push(new DailyChallengeIntro(room)), [typeof(MainMenu)]);