Fix possible nullref

This commit is contained in:
Andrei Zavatski 2020-02-13 14:11:53 +03:00
parent 2324296bf4
commit f05c1de4c1

View File

@ -135,6 +135,9 @@ namespace osu.Game.Overlays
private void loadNewContent()
{
if (ruleset.Value == null)
return;
loading.Show();
cancellationToken?.Cancel();