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

Return if breaks are null

Fixes a test
This commit is contained in:
iiSaLMaN 2019-07-25 11:53:32 +03:00
parent 172a9ce33a
commit 5a55433d6c

View File

@ -126,6 +126,9 @@ namespace osu.Game.Screens.Play
private void updateBreakTimeBindable()
{
if (breaks == null)
return;
for (int i = 0; i < breaks.Count; i++)
{
if (!breaks[i].HasEffect)