mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Fix local score infos conflicting
This commit is contained in:
parent
aa7f66b24a
commit
b673eb79b1
@ -57,7 +57,7 @@ namespace osu.Game.Scoring
|
||||
|
||||
protected override ScoreInfo CheckForExisting(ScoreInfo model)
|
||||
{
|
||||
var existingHashMatch = scores.ConsumableItems.FirstOrDefault(s => s.MD5Hash == model.MD5Hash);
|
||||
var existingHashMatch = scores.ConsumableItems.FirstOrDefault(s => s.MD5Hash != null && s.MD5Hash == model.MD5Hash);
|
||||
if (existingHashMatch != null)
|
||||
{
|
||||
Undelete(existingHashMatch);
|
||||
|
Loading…
Reference in New Issue
Block a user