Fix map would always be converted to itself when actually converting to a different game mode.

This commit is contained in:
smoogipooo
2017-03-12 02:26:10 +09:00
parent f484792546
commit b0ea282a06
7 changed files with 14 additions and 5 deletions

View File

@ -37,7 +37,7 @@ namespace osu.Game.Beatmaps
protected DifficultyCalculator(Beatmap beatmap)
{
Objects = beatmap.ConvertTo<T>().HitObjects;
Objects = beatmap.ConvertTo<T>(PlayMode).HitObjects;
PreprocessHitObjects();
}