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:
parent
8a8e863c0e
commit
a453129d44
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user