mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix nullref when exiting the last screen.
This commit is contained in:
@ -27,6 +27,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
private void screenChanged(Screen newScreen)
|
||||
{
|
||||
if (newScreen == null) return;
|
||||
|
||||
if (last != null)
|
||||
{
|
||||
last.Exited -= screenChanged;
|
||||
|
Reference in New Issue
Block a user