1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Fix nullref in tests

This commit is contained in:
Dean Herbert 2019-11-26 15:13:50 +09:00
parent 8a8e863c0e
commit a453129d44

View File

@ -160,7 +160,7 @@ namespace osu.Game.Screens.Play
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()