mirror of
https://github.com/ppy/osu
synced 2024-12-29 10:22:43 +00:00
Don't invoke "completed" action for test scene virtual track
`MusicController` tries to play the next music when a track is completed. In test scenes, we want to keep the virtual track, not random songs.
This commit is contained in:
parent
b24730efdb
commit
2b0e6b6b51
@ -350,7 +350,7 @@ namespace osu.Game.Tests.Visual
|
||||
if (CurrentTime >= Length)
|
||||
{
|
||||
Stop();
|
||||
RaiseCompleted();
|
||||
// `RaiseCompleted` is not called here to prevent transitioning to the next song.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user