mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 07:23:14 +08:00
Removed redundant parentheses.
This commit is contained in:
parent
a3daefe668
commit
7c50bdd173
@ -34,10 +34,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
||||
public void Update(Playfield playfield)
|
||||
{
|
||||
// If we are on the last replay frame, no need to do anything
|
||||
if (frameIndex == replayFrames.Count - 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (frameIndex == replayFrames.Count - 1) return;
|
||||
|
||||
// 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))
|
||||
|
Loading…
Reference in New Issue
Block a user