mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Flag decoded scores more correctly
This commit is contained in:
parent
e58488d04a
commit
eb81eac635
@ -49,6 +49,13 @@ namespace osu.Game.Scoring.Legacy
|
||||
|
||||
scoreInfo.IsLegacyScore = version < LegacyScoreEncoder.FIRST_LAZER_VERSION;
|
||||
|
||||
// TotalScoreVersion gets initialised to LATEST_VERSION.
|
||||
// In the case where the incoming score has either an osu!stable or old lazer version, we need
|
||||
// to mark it with the correct version increment to trigger reprocessing to new standardised scoring.
|
||||
//
|
||||
// See StandardisedScoreMigrationTools.ShouldMigrateToNewStandardised().
|
||||
scoreInfo.TotalScoreVersion = version < 30000002 ? 30000001 : LegacyScoreEncoder.LATEST_VERSION;
|
||||
|
||||
string beatmapHash = sr.ReadString();
|
||||
|
||||
workingBeatmap = GetBeatmap(beatmapHash);
|
||||
|
Loading…
Reference in New Issue
Block a user