1
0
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:
Desconocidosmh 2019-08-17 00:18:25 +02:00
parent 7de1757aae
commit 0f9706e798

View File

@ -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;