osu/osu.Game/Scoring
Bartłomiej Dach ed498f6eed
Do not attempt to match score by equality of hash if it's empty
Closes https://github.com/ppy/osu/issues/28216.

The affected user's database contained six sentakki scores with an empty
hash. When an online score is being imported, an online model (which
does not have a hash) will be transmogrified into a `ScoreInfo` with
an empty hash, which would end up accidentally matching those scores
and basically breaking everything at that point.

To fix, avoid attempting to match anything on empty hash. This does not
break online score matching because for those cases the actual online ID
of the score will be used.
2024-05-20 15:05:41 +02:00
..
Legacy Merge branch 'master' into pre-mod-multiplier-score 2024-05-08 13:39:44 +02:00
HitResultDisplayStatistic.cs
IScoreInfo.cs Delete ScoreInfo.HasReplay as no longer needed 2023-10-27 12:39:54 +02:00
LegacyDatabasedScore.cs
RankingTier.cs
Score.cs
ScoreImporter.cs Look up users by ID if available when importing scores 2024-05-06 13:24:34 +02:00
ScoreInfo.cs Add ScoreInfo.TotalScoreWithoutMods 2024-04-17 08:51:53 +02:00
ScoreInfoExtensions.cs
ScoreManager.cs Do not attempt to match score by equality of hash if it's empty 2024-05-20 15:05:41 +02:00
ScoreModelDownloader.cs
ScoreRank.cs Disable inconsistent naming in some fields of ScoreRank 2024-05-01 17:22:10 +03:00