Apply review feedback

This commit is contained in:
Dean Herbert
2018-07-17 16:33:08 +09:00
parent 825941aff1
commit 9f933187e9
3 changed files with 7 additions and 7 deletions

View File

@ -71,11 +71,11 @@ namespace osu.Game.Rulesets.Difficulty
case 1:
yield return currentSet.Single();
break;
default:
yield return new MultiMod(currentSet.ToArray());
break;
}
if (currentSetCount > 1)
yield return new MultiMod(currentSet.ToArray());
// Apply mods in the adjustment set recursively. Using the entire adjustment set would result in duplicate multi-mod mod
// combinations in further recursions, so a moving subset is used to eliminate this effect
for (int i = adjustmentSetStart; i < adjustmentSet.Length; i++)