mirror of https://github.com/ppy/osu
Fix possible nullref
This commit is contained in:
parent
a86a4f49cf
commit
86f200e257
|
@ -362,7 +362,7 @@ protected override bool OnExiting(Screen next)
|
|||
|
||||
if (loadedSuccessfully)
|
||||
{
|
||||
pauseContainer.Pause();
|
||||
pauseContainer?.Pause();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue