mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 20:40:59 +08:00
Simplify null and any check
This commit is contained in:
@@ -132,7 +132,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
private void updateBreakTimeBindable()
|
||||
{
|
||||
if (breaks == null || !breaks.Any())
|
||||
if (breaks?.Any() != true)
|
||||
{
|
||||
isBreakTime.Value = false;
|
||||
currentBreakIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user