Add virtual method to instantiate legacy replays.

This commit is contained in:
smoogipooo
2017-03-24 14:03:46 +09:00
parent b225ae82be
commit 136665e52e
2 changed files with 9 additions and 1 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Game.Database
using (var lzma = new LzmaStream(properties, replayInStream, compressedSize, outSize))
using (var reader = new StreamReader(lzma))
score.Replay = new LegacyReplay(reader);
score.Replay = score.CreateLegacyReplayFrom(reader);
}
}