1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 10:23:03 +08:00

Fix test crashing because of sceneManager not being nullable

This commit is contained in:
Shivam 2020-05-18 01:05:34 +02:00
parent 7a839c1486
commit a0a54efd4e

View File

@ -86,7 +86,7 @@ namespace osu.Game.Tournament.Screens
{ {
Schedule(reload); Schedule(reload);
}); });
sceneManager.SetScreen(new StablePathSelectScreen()); sceneManager?.SetScreen(new StablePathSelectScreen());
}, },
Value = fileBasedIpc?.IPCStorage?.GetFullPath(string.Empty) ?? "Not found", Value = fileBasedIpc?.IPCStorage?.GetFullPath(string.Empty) ?? "Not found",
Failing = fileBasedIpc?.IPCStorage == null, Failing = fileBasedIpc?.IPCStorage == null,