mirror of https://github.com/ppy/osu
Fix CI problems
This commit is contained in:
parent
744d548738
commit
4a4c01f221
|
@ -5,7 +5,6 @@
|
|||
using osu.Framework.Graphics;
|
||||
using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Game.Rulesets.Objects.Drawables;
|
||||
|
||||
namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
using osu.Game.Rulesets.Objects.Types;
|
||||
using OpenTK;
|
||||
using osu.Framework.Lists;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Rulesets.Catch.Objects
|
||||
{
|
||||
|
@ -66,8 +65,6 @@ public IEnumerable<CatchBaseHit> Ticks
|
|||
X = X
|
||||
});
|
||||
|
||||
double lastTickTime = StartTime;
|
||||
|
||||
for (var repeat = 0; repeat < RepeatCount; repeat++)
|
||||
{
|
||||
var repeatStartTime = StartTime + repeat * repeatDuration;
|
||||
|
@ -81,7 +78,7 @@ public IEnumerable<CatchBaseHit> Ticks
|
|||
var timeProgress = d / length;
|
||||
var distanceProgress = reversed ? 1 - timeProgress : timeProgress;
|
||||
|
||||
lastTickTime = repeatStartTime + timeProgress * repeatDuration;
|
||||
var lastTickTime = repeatStartTime + timeProgress * repeatDuration;
|
||||
ticks.Add(new Droplet
|
||||
{
|
||||
StartTime = lastTickTime,
|
||||
|
@ -96,7 +93,7 @@ public IEnumerable<CatchBaseHit> Ticks
|
|||
});
|
||||
}
|
||||
|
||||
double tinyTickInterval = (tickDistance / length) * repeatDuration;
|
||||
double tinyTickInterval = tickDistance / length * repeatDuration;
|
||||
while (tinyTickInterval > 100)
|
||||
tinyTickInterval /= 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue