mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Fix legacy diffcalc creating all mods unnecessarily
This commit is contained in:
parent
55a3847036
commit
bfe80fe143
@ -137,7 +137,7 @@ namespace osu.Game.Rulesets.Difficulty
|
||||
|
||||
foreach (var combination in CreateDifficultyAdjustmentModCombinations())
|
||||
{
|
||||
Mod classicMod = rulesetInstance.CreateAllMods().SingleOrDefault(m => m is ModClassic);
|
||||
Mod classicMod = rulesetInstance.CreateMod<ModClassic>();
|
||||
|
||||
var finalCombination = ModUtils.FlattenMod(combination);
|
||||
if (classicMod != null)
|
||||
|
Loading…
Reference in New Issue
Block a user