mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 13:07:24 +08:00
Start preparing player earlier when quick retrying
Should help with https://github.com/ppy/osu/issues/9039.
This commit is contained in:
parent
9681e3ac46
commit
868a7db9e9
@ -455,7 +455,19 @@ namespace osu.Game.Screens.Play
|
|||||||
MetadataInfo.Loading = true;
|
MetadataInfo.Loading = true;
|
||||||
|
|
||||||
content.FadeInFromZero(500, Easing.OutQuint);
|
content.FadeInFromZero(500, Easing.OutQuint);
|
||||||
content.ScaleTo(1, 650, Easing.OutQuint).Then().Schedule(prepareNewPlayer);
|
|
||||||
|
if (quickRestart)
|
||||||
|
{
|
||||||
|
prepareNewPlayer();
|
||||||
|
content.ScaleTo(1, 650, Easing.OutQuint);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
content
|
||||||
|
.ScaleTo(1, 650, Easing.OutQuint)
|
||||||
|
.Then()
|
||||||
|
.Schedule(prepareNewPlayer);
|
||||||
|
}
|
||||||
|
|
||||||
using (BeginDelayedSequence(delayBeforeSideDisplays))
|
using (BeginDelayedSequence(delayBeforeSideDisplays))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user