mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Merge pull request #23730 from smoogipoo/reduce-legacy-diffcalc-mod-init
Fix legacy mod difficulty calculation creating all mods unnecessarily
This commit is contained in:
commit
8063d50369
@ -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