mirror of
https://github.com/ppy/osu.git
synced 2025-03-07 00:17:21 +08:00
Fix crash due to being too forgiving of nulls
This one is super duper annoying to test, because we already have e.g. `TestScenePlaylistsScreen`. The only way to test it would be to use an `OsuGameTestScene`. Maybe this is okay?
This commit is contained in:
parent
dc45816566
commit
cc59434ea4
@ -33,8 +33,8 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
|
||||
protected LoungeSubScreen Lounge { get; private set; } = null!;
|
||||
|
||||
private readonly ScreenStack screenStack = new OnlinePlaySubScreenStack { RelativeSizeAxes = Axes.Both };
|
||||
private OnlinePlayScreenWaveContainer waves = null!;
|
||||
private ScreenStack screenStack = null!;
|
||||
|
||||
[Cached(Type = typeof(IRoomManager))]
|
||||
protected RoomManager RoomManager { get; private set; }
|
||||
@ -65,7 +65,7 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
screenStack = new OnlinePlaySubScreenStack { RelativeSizeAxes = Axes.Both },
|
||||
screenStack,
|
||||
new Header(ScreenTitle, screenStack),
|
||||
RoomManager,
|
||||
ongoingOperationTracker,
|
||||
|
Loading…
x
Reference in New Issue
Block a user