From e869f7d05be3bd0eb1e2de5b03e67c9c96ceca2e Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 1 Mar 2018 02:09:23 +0900 Subject: [PATCH] Fix converted frames not getting time values --- osu.Game/Rulesets/Scoring/Legacy/LegacyScoreParser.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osu.Game/Rulesets/Scoring/Legacy/LegacyScoreParser.cs b/osu.Game/Rulesets/Scoring/Legacy/LegacyScoreParser.cs index 998d2aa0b7..9ebb62a368 100644 --- a/osu.Game/Rulesets/Scoring/Legacy/LegacyScoreParser.cs +++ b/osu.Game/Rulesets/Scoring/Legacy/LegacyScoreParser.cs @@ -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; } } }