mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Removed redundant parentheses.
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user