mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 05:30:17 +08:00
Remove unnecessary condition
This commit is contained in:
@@ -270,13 +270,8 @@ namespace osu.Game.Rulesets.Osu.HUD
|
||||
|
||||
var mods = processor.Mods.Value;
|
||||
|
||||
if (mods.Any(m => m is IApplicableToDifficulty))
|
||||
{
|
||||
foreach (var mod in mods.OfType<IApplicableToDifficulty>())
|
||||
{
|
||||
mod.ApplyToDifficulty(newDifficulty);
|
||||
}
|
||||
}
|
||||
foreach (var mod in mods.OfType<IApplicableToDifficulty>())
|
||||
mod.ApplyToDifficulty(newDifficulty);
|
||||
|
||||
objectRadius = OsuHitObject.OBJECT_RADIUS * LegacyRulesetExtensions.CalculateScaleFromCircleSize(newDifficulty.CircleSize, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user