Fix handlers for other rulesets

This commit is contained in:
Dean Herbert
2019-03-28 15:09:06 +09:00
parent 148e26a6d4
commit 09a7950a3b
3 changed files with 6 additions and 4 deletions

View File

@ -22,10 +22,12 @@ namespace osu.Game.Rulesets.Catch.Replays
{
get
{
if (!HasFrames)
var frame = CurrentFrame;
if (frame == null)
return null;
return Interpolation.ValueAt(CurrentTime, CurrentFrame.Position, NextFrame.Position, CurrentFrame.Time, NextFrame.Time);
return Interpolation.ValueAt(CurrentTime, frame.Position, NextFrame.Position, frame.Time, NextFrame.Time);
}
}