1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 16:37:26 +08:00

Fix mods not being populated

This commit is contained in:
smoogipoo 2019-02-19 17:46:40 +09:00
parent 0ef15f5bd5
commit c264a9cc74

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate) protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
{ {
if (beatmap.HitObjects.Count == 0) if (beatmap.HitObjects.Count == 0)
return new TaikoDifficultyAttributes(); return new TaikoDifficultyAttributes { Mods = mods };
return new TaikoDifficultyAttributes return new TaikoDifficultyAttributes
{ {