mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
Fix null check only covering one of two calls
This commit is contained in:
parent
6042cf1a3b
commit
0472881078
@ -278,11 +278,15 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
using (BeginDelayedSequence(beatLength / 2))
|
||||
{
|
||||
stick.FlashColour(overlayColourProvider.Content1, beatLength, Easing.OutQuint);
|
||||
Schedule(() =>
|
||||
|
||||
if (clunk != null)
|
||||
{
|
||||
clunk.Frequency.Value = RNG.NextDouble(0.98f, 1.02f);
|
||||
clunk?.Play();
|
||||
});
|
||||
Schedule(() =>
|
||||
{
|
||||
clunk.Frequency.Value = RNG.NextDouble(0.98f, 1.02f);
|
||||
clunk.Play();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user