Fix DeltaTime being capped incorrectly

This commit is contained in:
smoogipoo 2018-05-15 21:25:02 +09:00
parent 49c36787d7
commit 1b5c151e0e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ private void setDistances()
private void setTimingValues() private void setTimingValues()
{ {
// Every timing inverval is hard capped at the equivalent of 375 BPM streaming speed as a safety measure. // Every timing inverval is hard capped at the equivalent of 375 BPM streaming speed as a safety measure.
DeltaTime = Math.Max(40, (t[0].StartTime - t[1].StartTime) / timeRate); DeltaTime = Math.Max(50, (BaseObject.StartTime - lastObject.StartTime) / timeRate);
} }
private void computeSliderCursorPosition(Slider slider) private void computeSliderCursorPosition(Slider slider)