Removed redundant parentheses.

This commit is contained in:
Tav TaOr
2019-05-15 23:48:37 +03:00
parent a3daefe668
commit 7c50bdd173

View File

@ -34,10 +34,7 @@ namespace osu.Game.Rulesets.Osu.Mods
public void Update(Playfield playfield) public void Update(Playfield playfield)
{ {
// If we are on the last replay frame, no need to do anything // If we are on the last replay frame, no need to do anything
if (frameIndex == replayFrames.Count - 1) if (frameIndex == replayFrames.Count - 1) return;
{
return;
}
// Check if we are closer to the next replay frame then the current one // Check if we are closer to the next replay frame then the current one
if (Math.Abs(replayFrames[frameIndex].Time - playfield.Time.Current) >= Math.Abs(replayFrames[frameIndex + 1].Time - playfield.Time.Current)) if (Math.Abs(replayFrames[frameIndex].Time - playfield.Time.Current) >= Math.Abs(replayFrames[frameIndex + 1].Time - playfield.Time.Current))