mirror of
https://github.com/ppy/osu.git
synced 2026-05-26 16:30:15 +08:00
Merge conditionals in line with other case of same logic
This commit is contained in:
@@ -163,6 +163,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
channel.Frequency.Value = 0.99f + RNG.NextDouble(0.02f) + NormalizedValue * 0.2f;
|
||||
|
||||
// intentionally pitched down, even when hitting max.
|
||||
if (NormalizedValue == 0 || NormalizedValue == 1)
|
||||
channel.Frequency.Value -= 0.5f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user