1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:18:22 +08:00
osu-lazer/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 Automated pass 2023-06-24 01:00:03 +09:00
IScoreInfo.cs Delete ScoreInfo.HasReplay as no longer needed 2023-10-27 12:39:54 +02:00
LegacyDatabasedScore.cs Fix crash when attempting to watch a replay when the storage file doesn't exist 2022-08-30 18:18:46 +09:00
RankingTier.cs Add tiered level badge colouring 2023-01-18 16:25:11 +03:00
Score.cs Revert nullability enable in Score (and related changes) 2023-06-24 15:35:07 +02:00
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 Make ScoreInfo.BeatmapInfo nullable 2023-07-04 14:50:34 +09:00
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 Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0 2022-12-16 18:16:26 +09:00
ScoreRank.cs Disable inconsistent naming in some fields of ScoreRank 2024-05-01 17:22:10 +03:00