mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Fix using invalid constant
This commit is contained in:
parent
7de1757aae
commit
0f9706e798
@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Mania.Replays
|
||||
double endTime = (currentObject as IHasEndTime)?.EndTime ?? currentObject.StartTime;
|
||||
|
||||
bool canDelayKeyUp = nextObjectInTheSameColumn == null ||
|
||||
nextObjectInTheSameColumn.StartTime > endTime + KEY_UP_DELAY;
|
||||
nextObjectInTheSameColumn.StartTime > endTime + RELEASE_DELAY;
|
||||
|
||||
double calculatedDelay = canDelayKeyUp ? RELEASE_DELAY : (nextObjectInTheSameColumn.StartTime - endTime) * 0.9;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user