mirror of https://github.com/ppy/osu
Fix nullref in tests
This commit is contained in:
parent
8a8e863c0e
commit
a453129d44
|
@ -160,7 +160,7 @@ private void updateBreakTimeBindable()
|
||||||
|
|
||||||
var currentBreak = breaks[CurrentBreakIndex];
|
var currentBreak = breaks[CurrentBreakIndex];
|
||||||
|
|
||||||
isBreakTime.Value = (currentBreak.HasEffect && currentBreak.Contains(time)) || (time < gameplayStartTime || scoreProcessor.HasCompleted);
|
isBreakTime.Value = (currentBreak.HasEffect && currentBreak.Contains(time)) || (time < gameplayStartTime || scoreProcessor?.HasCompleted == true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeBreaks()
|
private void initializeBreaks()
|
||||||
|
|
Loading…
Reference in New Issue