mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Adjust fail on missing logic to match original.
This commit is contained in:
parent
fd2700a5b4
commit
2153865de5
@ -38,6 +38,7 @@ namespace osu.Game.Screens.Select
|
||||
private APIAccess api;
|
||||
|
||||
private ScheduledDelegate pendingBeatmapSwitch;
|
||||
|
||||
private BeatmapInfo beatmap;
|
||||
public BeatmapInfo Beatmap
|
||||
{
|
||||
@ -226,12 +227,15 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
else if (failOnMissing)
|
||||
{
|
||||
ratings.FadeTo(0.25f, transition_duration);
|
||||
ratings.Metrics = new BeatmapMetrics
|
||||
{
|
||||
Ratings = new int[10],
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
ratings.FadeTo(0.25f, transition_duration);
|
||||
}
|
||||
|
||||
if (hasRetriesFails)
|
||||
{
|
||||
@ -240,13 +244,16 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
else if (failOnMissing)
|
||||
{
|
||||
failRetryContainer.FadeTo(0.25f, transition_duration);
|
||||
failRetryGraph.Metrics = new BeatmapMetrics
|
||||
{
|
||||
Fails = new int[100],
|
||||
Retries = new int[100],
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
failRetryContainer.FadeTo(0.25f, transition_duration);
|
||||
}
|
||||
}
|
||||
|
||||
private void clearStats()
|
||||
|
Loading…
Reference in New Issue
Block a user