Skip to content

Commit

Permalink
Keep writing unranked scoring attributes for now
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed May 29, 2024
1 parent 0388116 commit c83f800
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions osu.Server.DifficultyCalculator/ServerDifficultyCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ private void processDifficulty(ProcessableItem item, MySqlConnection conn)

private void processLegacyAttributes(ProcessableItem item, MySqlConnection conn)
{
if (!item.Ranked)
return;

Mod? classicMod = item.Ruleset.CreateMod<ModClassic>();
Mod[] mods = classicMod != null ? new[] { classicMod } : Array.Empty<Mod>();

Check notice on line 187 in osu.Server.DifficultyCalculator/ServerDifficultyCalculator.cs

View workflow job for this annotation

GitHub Actions / Code Quality

Use collection expression in osu.Server.DifficultyCalculator\ServerDifficultyCalculator.cs on line 187

Expand Down

0 comments on commit c83f800

Please sign in to comment.