mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 02:17:46 +08:00
Fix mods not being populated
This commit is contained in:
parent
0ef15f5bd5
commit
c264a9cc74
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user