1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Merge if statements

This commit is contained in:
Dean Herbert 2020-03-30 18:56:35 +09:00
parent ec18fe1f9f
commit 113660b621

View File

@ -89,9 +89,7 @@ namespace osu.Game.Screens.Ranking
}
};
if (player != null)
{
if (allowRetry)
if (player != null && allowRetry)
{
buttons.Add(new RetryButton { Width = 300 });
@ -106,7 +104,6 @@ namespace osu.Game.Screens.Ranking
});
}
}
}
public override void OnEntering(IScreen last)
{