1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 03:49:56 +08:00

Simplify null and any check

This commit is contained in:
iiSaLMaN
2019-07-26 08:09:18 +03:00
Unverified
parent b4c93b1777
commit 91fa8a6552
+1 -1
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;