mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Fix incorrect check on AudioFile
presence
This commit is contained in:
parent
67d9590a79
commit
41854f2e16
@ -165,7 +165,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
protected override Track GetBeatmapTrack()
|
protected override Track GetBeatmapTrack()
|
||||||
{
|
{
|
||||||
if (Metadata?.AudioFile == null)
|
if (string.IsNullOrEmpty(Metadata?.AudioFile))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
try
|
try
|
||||||
@ -181,7 +181,7 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
protected override Waveform GetWaveform()
|
protected override Waveform GetWaveform()
|
||||||
{
|
{
|
||||||
if (Metadata?.AudioFile == null)
|
if (string.IsNullOrEmpty(Metadata?.AudioFile))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user