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

Remove double handling of restart allowance on results screen (already handled locally)

This commit is contained in:
Dean Herbert 2020-12-24 13:32:35 +09:00
parent 76935b93b6
commit 61a5d3ef4a

View File

@ -164,8 +164,6 @@ namespace osu.Game.Screens.Ranking
{ {
buttons.Add(new RetryButton { Width = 300 }); buttons.Add(new RetryButton { Width = 300 });
if (player?.Configuration.AllowRestart == true)
{
AddInternal(new HotkeyRetryOverlay AddInternal(new HotkeyRetryOverlay
{ {
Action = () => Action = () =>
@ -177,7 +175,6 @@ namespace osu.Game.Screens.Ranking
}); });
} }
} }
}
protected override void LoadComplete() protected override void LoadComplete()
{ {