mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Remove unnecessary null check
This commit is contained in:
parent
94175bfb4a
commit
5d1170aaf4
@ -114,7 +114,7 @@ namespace osu.Game.Audio
|
||||
Logger.Log($"A {nameof(PreviewTrack)} was created without a containing {nameof(IPreviewTrackOwner)}. An owner should be added for correct behaviour.");
|
||||
}
|
||||
|
||||
protected override Track GetTrack() => trackManager.Get($"https://b.ppy.sh/preview/{beatmapSetInfo?.OnlineID}.mp3");
|
||||
protected override Track GetTrack() => trackManager.Get($"https://b.ppy.sh/preview/{beatmapSetInfo.OnlineID}.mp3");
|
||||
}
|
||||
|
||||
private class PreviewTrackStore : AudioCollectionManager<AdjustableAudioComponent>, ITrackStore
|
||||
|
Loading…
Reference in New Issue
Block a user