Adjust fail on missing logic to match original.

This commit is contained in:
DrabWeb 2017-09-07 15:09:50 -03:00
parent fd2700a5b4
commit 2153865de5

View File

@ -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()