mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Remove now obsolete clock usages.
This commit is contained in:
parent
8894e5f73a
commit
5f2bf165a2
@ -265,7 +265,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
||||
base.Update();
|
||||
|
||||
foreach (Framework.Graphics.Drawable d in Children)
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -342,7 +342,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
||||
base.Update();
|
||||
|
||||
foreach (Framework.Graphics.Drawable d in Children)
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
|
||||
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -229,9 +229,6 @@ namespace osu.Game.GameModes.Play
|
||||
{
|
||||
Flush(false, typeof(TransformComboRoll));
|
||||
|
||||
if (Clock == null)
|
||||
return;
|
||||
|
||||
if (RollingDuration < 1)
|
||||
{
|
||||
DisplayedCount = Count;
|
||||
|
@ -211,9 +211,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
Flush(false, type);
|
||||
|
||||
if (Clock == null)
|
||||
return;
|
||||
|
||||
if (RollingDuration < 1)
|
||||
{
|
||||
DisplayedCount = Count;
|
||||
|
Loading…
Reference in New Issue
Block a user