mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 07:37:22 +09:00
Remove double handling of restart allowance on results screen (already handled locally)
This commit is contained in:
parent
76935b93b6
commit
61a5d3ef4a
@ -164,18 +164,15 @@ 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 = () =>
|
if (!this.IsCurrentScreen()) return;
|
||||||
{
|
|
||||||
if (!this.IsCurrentScreen()) return;
|
|
||||||
|
|
||||||
player?.Restart();
|
player?.Restart();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user