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:
parent
ec18fe1f9f
commit
113660b621
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user