mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09: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:
@ -350,7 +350,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
if (CurrentTime >= Length)
|
if (CurrentTime >= Length)
|
||||||
{
|
{
|
||||||
Stop();
|
Stop();
|
||||||
RaiseCompleted();
|
// `RaiseCompleted` is not called here to prevent transitioning to the next song.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user