Handle ModAutoplay during score construction in the Player

This commit is contained in:
Roman Kapustin
2018-12-03 22:37:26 +03:00
parent b0adab5f96
commit c6c255718b
5 changed files with 13 additions and 12 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Tests.Visual
// Reset the mods
Beatmap.Value.Mods.Value = Beatmap.Value.Mods.Value.Where(m => !(m is ModAutoplay));
return new ReplayPlayer(new Score { Replay = dummyRulesetContainer.Replay });
return new ReplayPlayer(new Score { Replay = dummyRulesetContainer.ReplayScore.Replay });
}
}
}