Fix osu!mania replays recording incorrectly when key mod applied

This commit is contained in:
Dean Herbert
2020-03-27 15:50:11 +09:00
parent a141e2e8b7
commit f75c082601
3 changed files with 11 additions and 18 deletions

View File

@ -657,7 +657,7 @@ namespace osu.Game.Screens.Play
using (var stream = new MemoryStream())
{
new LegacyScoreEncoder(score, gameplayBeatmap).Encode(stream);
new LegacyScoreEncoder(score, gameplayBeatmap.PlayableBeatmap).Encode(stream);
replayReader = new LegacyByteArrayReader(stream.ToArray(), "replay.osr");
}
}