1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 02:29:53 +08:00

Remove not required null conditional

This commit is contained in:
Salman Ahmed
2021-05-14 09:32:56 +03:00
Unverified
parent 48672f8afd
commit 8338f702c3
@@ -154,7 +154,7 @@ namespace osu.Game.Screens.OnlinePlay.Match
// fallback is to allow this class to operate when there is no parent OnlineScreen (testing purposes).
var targetScreen = (Screen)ParentScreen ?? this;
targetScreen?.Push(CreateGameplayScreen());
targetScreen.Push(CreateGameplayScreen());
}
/// <summary>