mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Revert unnecessary change
This commit is contained in:
parent
c04bfb96e1
commit
9a54bf6854
@ -69,7 +69,7 @@ namespace osu.Game.Rulesets.Replays
|
||||
//a button is in a pressed state
|
||||
IsImportant(currentDirection > 0 ? CurrentFrame : NextFrame) &&
|
||||
//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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user