mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
Fix possible nullref
This commit is contained in:
parent
2324296bf4
commit
f05c1de4c1
@ -135,6 +135,9 @@ namespace osu.Game.Overlays
|
||||
|
||||
private void loadNewContent()
|
||||
{
|
||||
if (ruleset.Value == null)
|
||||
return;
|
||||
|
||||
loading.Show();
|
||||
|
||||
cancellationToken?.Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user