mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
return preview instead of nothing if it exists already
allows listening to it again after reaching the end
This commit is contained in:
parent
f86cb30e47
commit
65bac6d31a
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user