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