mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 06:52:56 +08:00
Simplify null and any check
This commit is contained in:
parent
b4c93b1777
commit
91fa8a6552
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user