Remove not required null conditional

This commit is contained in:
Salman Ahmed 2021-05-14 09:32:56 +03:00
parent 48672f8afd
commit 8338f702c3

View File

@ -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>