mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 18:07:25 +08:00
fixed if statement format
This commit is contained in:
parent
e6f81abc3b
commit
cd94d6e2bc
@ -32,7 +32,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
|
|||||||
Content.Add(card = new BeatmapCardNano((APIBeatmapSet)room.Playlist.Single().Beatmap.BeatmapSet!));
|
Content.Add(card = new BeatmapCardNano((APIBeatmapSet)room.Playlist.Single().Beatmap.BeatmapSet!));
|
||||||
Activated = () =>
|
Activated = () =>
|
||||||
{
|
{
|
||||||
if(statics.Get<bool>(Static.DailyChallengeIntroPlayed))
|
if (statics.Get<bool>(Static.DailyChallengeIntroPlayed))
|
||||||
game?.PerformFromScreen(s => s.Push(new DailyChallenge(room)), [typeof(MainMenu)]);
|
game?.PerformFromScreen(s => s.Push(new DailyChallenge(room)), [typeof(MainMenu)]);
|
||||||
else
|
else
|
||||||
game?.PerformFromScreen(s => s.Push(new DailyChallengeIntro(room)), [typeof(MainMenu)]);
|
game?.PerformFromScreen(s => s.Push(new DailyChallengeIntro(room)), [typeof(MainMenu)]);
|
||||||
|
Loading…
Reference in New Issue
Block a user