mirror of https://github.com/ppy/osu
Revert unnecessary change
This commit is contained in:
parent
c04bfb96e1
commit
9a54bf6854
|
@ -69,7 +69,7 @@ private bool advanceFrame()
|
||||||
//a button is in a pressed state
|
//a button is in a pressed state
|
||||||
IsImportant(currentDirection > 0 ? CurrentFrame : NextFrame) &&
|
IsImportant(currentDirection > 0 ? CurrentFrame : NextFrame) &&
|
||||||
//the next frame is within an allowable time span
|
//the next frame is within an allowable time span
|
||||||
Math.Abs(CurrentTime - (NextFrame?.Time ?? 0)) <= sixty_frame_time * 1.2;
|
Math.Abs(CurrentTime - NextFrame?.Time ?? 0) <= sixty_frame_time * 1.2;
|
||||||
|
|
||||||
protected virtual bool IsImportant(TFrame frame) => false;
|
protected virtual bool IsImportant(TFrame frame) => false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue