return preview instead of nothing if it exists already

allows listening to it again after reaching the end
This commit is contained in:
Aergwyn 2018-01-17 20:36:47 +01:00
parent f86cb30e47
commit 65bac6d31a

View File

@ -150,7 +150,12 @@ namespace osu.Game.Overlays.Direct
private void beginAudioLoad() private void beginAudioLoad()
{ {
if (trackLoader != null) return; if (trackLoader != null)
{
Preview = trackLoader.Preview;
Playing.TriggerChange();
return;
}
loading = true; loading = true;