mirror of https://github.com/ppy/osu
remove excessive null check
This commit is contained in:
parent
05aeb66973
commit
e20a899265
|
@ -152,7 +152,7 @@ private void userLoadComplete(User user)
|
|||
}
|
||||
}
|
||||
|
||||
gamemodeControl.SetDefaultGamemode(user?.PlayMode ?? "osu");
|
||||
gamemodeControl.SetDefaultGamemode(user.PlayMode ?? "osu");
|
||||
gamemodeControl.SelectDefaultGamemode();
|
||||
|
||||
gamemodeControl.FadeInFromZero(100, Easing.OutQuint);
|
||||
|
|
Loading…
Reference in New Issue