Remove hack limiting max number of ticks

This commit is contained in:
smoogipoo 2020-05-04 15:27:04 +09:00
parent f42be7a6d7
commit 46b0526db7
1 changed files with 0 additions and 5 deletions

View File

@ -58,8 +58,6 @@ protected override void CreateNestedHitObjects()
SliderEventDescriptor? lastEvent = null; SliderEventDescriptor? lastEvent = null;
int ticksGenerated = 0;
foreach (var e in SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset)) foreach (var e in SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset))
{ {
// generate tiny droplets since the last point // generate tiny droplets since the last point
@ -75,9 +73,6 @@ protected override void CreateNestedHitObjects()
for (double t = timeBetweenTiny; t < sinceLastTick; t += timeBetweenTiny) for (double t = timeBetweenTiny; t < sinceLastTick; t += timeBetweenTiny)
{ {
if (ticksGenerated++ >= 10000)
break;
AddNested(new TinyDroplet AddNested(new TinyDroplet
{ {
StartTime = t + lastEvent.Value.Time, StartTime = t + lastEvent.Value.Time,