Fix nullref in tests

This commit is contained in:
Dean Herbert 2019-11-26 15:13:50 +09:00
parent 8a8e863c0e
commit a453129d44
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ private void updateBreakTimeBindable()
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()