Fixed achievement panel not working properly with OniUra
Displaying the OniUra scores for a player that had 0 Ura scores would no longer display Oni scores.
This commit is contained in:
parent
ce3795bb50
commit
a5ba20c365
@ -386,7 +386,15 @@ public partial class Profile
|
||||
|
||||
if (difficulty == Difficulty.None) difficulty = highestDifficulty;
|
||||
|
||||
if (!songBestDataMap.TryGetValue(difficulty, out var values)) return;
|
||||
if (!songBestDataMap.TryGetValue(difficulty, out var values))
|
||||
{
|
||||
if (difficulty == Difficulty.UraOni)
|
||||
{
|
||||
difficulty = Difficulty.Oni;
|
||||
if (!songBestDataMap.TryGetValue(difficulty, out values)) return;
|
||||
}
|
||||
else return;
|
||||
}
|
||||
|
||||
var valuesList = new List<SongBestData>(values);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user