mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Remove start/stop clock logic
Beatmap track shouldn't be start/stopped anyway - the IAdjustableClock should be DI'd in to perform the functionality.
This commit is contained in:
parent
a2484fbf56
commit
6e35910419
@ -56,13 +56,6 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
base.Update();
|
||||
|
||||
// We don't have any explicit way to start/stop the track, but want a relatively accurate IsRunning state
|
||||
// The track's IsRunning state is used to determine our clock's IsRunning state
|
||||
if (osuGame.Beatmap.Value.Track.IsRunning)
|
||||
Clock.Start();
|
||||
else
|
||||
Clock.Stop();
|
||||
|
||||
Clock.ProcessFrame();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user