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