1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:02:59 +08:00

Fix null check only covering one of two calls

This commit is contained in:
Dean Herbert 2022-06-01 18:03:03 +09:00
parent 6042cf1a3b
commit 0472881078

View File

@ -278,13 +278,17 @@ namespace osu.Game.Screens.Edit.Timing
using (BeginDelayedSequence(beatLength / 2))
{
stick.FlashColour(overlayColourProvider.Content1, beatLength, Easing.OutQuint);
if (clunk != null)
{
Schedule(() =>
{
clunk.Frequency.Value = RNG.NextDouble(0.98f, 1.02f);
clunk?.Play();
clunk.Play();
});
}
}
}
}
}
}