Fix another couple of cases of incorrect string null/empty checking

This commit is contained in:
Dean Herbert
2021-11-04 14:11:21 +09:00
parent 41854f2e16
commit 1e73b09e57
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ namespace osu.Game.Beatmaps
protected override Texture GetBackground()
{
if (Metadata?.BackgroundFile == null)
if (string.IsNullOrEmpty(Metadata?.BackgroundFile))
return null;
try