mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Remove hack limiting max number of ticks
This commit is contained in:
parent
f42be7a6d7
commit
46b0526db7
@ -58,8 +58,6 @@ namespace osu.Game.Rulesets.Catch.Objects
|
||||
|
||||
SliderEventDescriptor? lastEvent = null;
|
||||
|
||||
int ticksGenerated = 0;
|
||||
|
||||
foreach (var e in SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset))
|
||||
{
|
||||
// generate tiny droplets since the last point
|
||||
@ -75,9 +73,6 @@ namespace osu.Game.Rulesets.Catch.Objects
|
||||
|
||||
for (double t = timeBetweenTiny; t < sinceLastTick; t += timeBetweenTiny)
|
||||
{
|
||||
if (ticksGenerated++ >= 10000)
|
||||
break;
|
||||
|
||||
AddNested(new TinyDroplet
|
||||
{
|
||||
StartTime = t + lastEvent.Value.Time,
|
||||
|
Loading…
Reference in New Issue
Block a user