Fix converted frames not getting time values

This commit is contained in:
smoogipoo 2018-03-01 02:09:23 +09:00
parent a24e8b02e8
commit e869f7d05b

View File

@ -143,7 +143,10 @@ namespace osu.Game.Rulesets.Scoring.Legacy
throw new InvalidOperationException($"Legacy replay cannot be converted for the ruleset: {currentRuleset.Description}");
convertible.ConvertFrom(legacyFrame, currentBeatmap);
return (ReplayFrame)convertible;
var frame = (ReplayFrame)convertible;
frame.Time = legacyFrame.Time;
return frame;
}
}
}