mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Correct operation
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
1ef711de41
commit
bf35ded871
@ -64,6 +64,6 @@ namespace osu.Game.Rulesets.Difficulty.Preprocessing
|
||||
|
||||
public DifficultyHitObject Previous(int backwardsIndex) => difficultyHitObjects.ElementAtOrDefault(Position - (backwardsIndex + 1));
|
||||
|
||||
public DifficultyHitObject Next(int forwardsIndex) => difficultyHitObjects.ElementAtOrDefault(Position - (forwardsIndex + 1));
|
||||
public DifficultyHitObject Next(int forwardsIndex) => difficultyHitObjects.ElementAtOrDefault(Position + (forwardsIndex + 1));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user