Fix incorrect check on `AudioFile` presence

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

View File

@ -165,7 +165,7 @@ protected override Texture GetBackground()
protected override Track GetBeatmapTrack()
{
if (Metadata?.AudioFile == null)
if (string.IsNullOrEmpty(Metadata?.AudioFile))
return null;
try
@ -181,7 +181,7 @@ protected override Track GetBeatmapTrack()
protected override Waveform GetWaveform()
{
if (Metadata?.AudioFile == null)
if (string.IsNullOrEmpty(Metadata?.AudioFile))
return null;
try