mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Remove unnecessary bounds check.
This commit is contained in:
@ -89,9 +89,6 @@ namespace osu.Game.Modes
|
||||
if (!hasFrames)
|
||||
return null;
|
||||
|
||||
if (AtLastFrame)
|
||||
return CurrentFrame.Position;
|
||||
|
||||
return Interpolation.ValueAt(currentTime, CurrentFrame.Position, NextFrame.Position, CurrentFrame.Time, NextFrame.Time);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user