mirror of
https://github.com/ppy/osu
synced 2024-12-12 09:58:22 +00:00
Use better initial value for closestEndTime
This commit is contained in:
parent
574007c07a
commit
97b4a2a105
@ -37,7 +37,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty.Skills
|
||||
var maniaCurrent = (ManiaDifficultyHitObject)current;
|
||||
double endTime = maniaCurrent.EndTime;
|
||||
int column = maniaCurrent.BaseObject.Column;
|
||||
double closestEndTime = 100;
|
||||
double closestEndTime = endTime - maniaCurrent.LastObject.StartTime; // Lowest value we can assume with the current information
|
||||
|
||||
double holdFactor = 1.0; // Factor to all additional strains in case something else is held
|
||||
double holdAddition = 0; // Addition to the current note in case it's a hold and has to be released awkwardly
|
||||
|
Loading…
Reference in New Issue
Block a user