Fix mods not being populated

This commit is contained in:
smoogipoo 2019-02-19 17:46:40 +09:00
parent 0ef15f5bd5
commit c264a9cc74
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public TaikoDifficultyCalculator(Ruleset ruleset, WorkingBeatmap beatmap)
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
{
if (beatmap.HitObjects.Count == 0)
return new TaikoDifficultyAttributes();
return new TaikoDifficultyAttributes { Mods = mods };
return new TaikoDifficultyAttributes
{