mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Add null check when loading beatmap background.
This commit is contained in:
@ -84,7 +84,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Sprite.Texture = beatmap.Background;
|
||||
Sprite.Texture = beatmap?.Background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user