1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 14:07:25 +08:00

Simplify null and any check

This commit is contained in:
iiSaLMaN 2019-07-26 08:09:18 +03:00
parent b4c93b1777
commit 91fa8a6552

View File

@ -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;