1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 05:33:38 +08: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:
ekrctb
2021-06-16 17:44:21 +09:00
Unverified
parent b24730efdb
commit 2b0e6b6b51
+1 -1
View File
@@ -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.
}
}
}