1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 03:39:53 +08:00

Change implementation to match other implementations

The previous version was confusing to read.
This commit is contained in:
Dean Herbert
2025-05-13 15:10:59 +09:00
Unverified
parent 9c77a3e74f
commit 7918685c4e
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ namespace osu.Game.Rulesets.Mods
foreach (var description in base.SettingDescription)
yield return description;
if (AdjustPitch.Value)
yield return ("Adjust pitch", "On");
if (!AdjustPitch.IsDefault)
yield return ("Adjust pitch", AdjustPitch.Value ? "On" : "Off");
}
}
+2 -2
View File
@@ -39,8 +39,8 @@ namespace osu.Game.Rulesets.Mods
foreach (var description in base.SettingDescription)
yield return description;
if (AdjustPitch.Value)
yield return ("Adjust pitch", "On");
if (!AdjustPitch.IsDefault)
yield return ("Adjust pitch", AdjustPitch.Value ? "On" : "Off");
}
}
+2 -2
View File
@@ -43,8 +43,8 @@ namespace osu.Game.Rulesets.Mods
{
yield return ("Speed change", $"{InitialRate.Value:N2}x to {FinalRate.Value:N2}x");
if (!AdjustPitch.Value)
yield return ("Adjust pitch", "Off");
if (!AdjustPitch.IsDefault)
yield return ("Adjust pitch", AdjustPitch.Value ? "On" : "Off");
}
}