mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 18:17:19 +08:00
Fix hash comparison being case sensitive when choosing files for partial beatmap submission
Noticed when investigating https://github.com/ppy/osu/issues/32059, and also a likely cause for user reports like https://discord.com/channels/188630481301012481/1097318920991559880/1342962553101357066. Honestly I have no solid defence, Your Honour. I guess this just must not have been tested on the client side, only relied on server-side testing.
This commit is contained in:
parent
e9b8154090
commit
0312467c88
@ -285,7 +285,7 @@ namespace osu.Game.Screens.Edit.Submission
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localHash != onlineHash)
|
if (!localHash.Equals(onlineHash, StringComparison.OrdinalIgnoreCase))
|
||||||
filesToUpdate.Add(filename);
|
filesToUpdate.Add(filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user