mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:43:00 +08:00
Ensure migration is never run on scores with new-enough TotalScoreVersion
s
This commit is contained in:
parent
d4fb0bef95
commit
480259b8d2
@ -26,6 +26,9 @@ namespace osu.Game.Database
|
||||
if (score.IsLegacyScore)
|
||||
return false;
|
||||
|
||||
if (score.TotalScoreVersion > 30000002)
|
||||
return false;
|
||||
|
||||
// Recalculate the old-style standardised score to see if this was an old lazer score.
|
||||
bool oldScoreMatchesExpectations = GetOldStandardised(score) == score.TotalScore;
|
||||
// Some older scores don't have correct statistics populated, so let's give them benefit of doubt.
|
||||
|
Loading…
Reference in New Issue
Block a user