diff --git a/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/TaikoColourDifficultyPreprocessor.cs b/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/TaikoColourDifficultyPreprocessor.cs
index 2b047a4336..38d51aef91 100644
--- a/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/TaikoColourDifficultyPreprocessor.cs
+++ b/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/TaikoColourDifficultyPreprocessor.cs
@@ -18,9 +18,8 @@ public static class TaikoColourDifficultyPreprocessor
/// assigning the appropriate s to each ,
/// and pre-evaluating colour difficulty of each .
///
- public static List ProcessAndAssign(List hitObjects)
+ public static void ProcessAndAssign(List hitObjects)
{
- List colours = new List();
List encodings = encode(hitObjects);
// Assign indexing and encoding data to all relevant objects. Only the first note of each encoding type is
@@ -48,8 +47,6 @@ public static List ProcessAndAssign(List
diff --git a/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyPreprocessor.cs b/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyPreprocessor.cs
deleted file mode 100644
index 2223c8e2d1..0000000000
--- a/osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyPreprocessor.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence.
-// See the LICENCE file in the repository root for full licence text.
-
-using System.Collections.Generic;
-using osu.Game.Rulesets.Difficulty.Preprocessing;
-using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour;
-
-namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing
-{
- public static class TaikoDifficultyPreprocessor
- {
- ///
- /// Does preprocessing on a list of s.
- ///
- public static List Process(List difficultyHitObjects)
- {
- TaikoColourDifficultyPreprocessor.ProcessAndAssign(difficultyHitObjects);
- return difficultyHitObjects;
- }
- }
-}
diff --git a/osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs b/osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs
index ceaa3c56b5..ea2f04a3d9 100644
--- a/osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs
+++ b/osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs
@@ -13,6 +13,7 @@
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing;
+using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour;
using osu.Game.Rulesets.Taiko.Difficulty.Skills;
using osu.Game.Rulesets.Taiko.Mods;
using osu.Game.Rulesets.Taiko.Objects;
@@ -63,7 +64,9 @@ protected override IEnumerable CreateDifficultyHitObjects(I
);
}
- return TaikoDifficultyPreprocessor.Process(difficultyHitObjects);
+ TaikoColourDifficultyPreprocessor.ProcessAndAssign(difficultyHitObjects);
+
+ return difficultyHitObjects;
}
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)