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

@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Edit.Checks
public IEnumerable<Issue> Run(BeatmapVerifierContext context)
{
string audioFile = context.Beatmap.Metadata?.AudioFile;
if (audioFile == null)
if (string.IsNullOrEmpty(audioFile))
yield break;
var track = context.WorkingBeatmap.Track;