1
0
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:
apollo 2022-05-24 17:06:11 +01:00 committed by GitHub
parent 1ef711de41
commit bf35ded871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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