1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:23:22 +08:00

Remove unnecessary '?'

This commit is contained in:
pfg 2022-10-08 13:58:42 -04:00
parent ff14453c2b
commit edec613724

View File

@ -312,7 +312,7 @@ namespace osu.Game.Beatmaps
if (existingFileInfo != null) if (existingFileInfo != null)
DeleteFile(setInfo, existingFileInfo); DeleteFile(setInfo, existingFileInfo);
string? oldMd5Hash = beatmapInfo.MD5Hash; string oldMd5Hash = beatmapInfo.MD5Hash;
beatmapInfo.MD5Hash = stream.ComputeMD5Hash(); beatmapInfo.MD5Hash = stream.ComputeMD5Hash();
beatmapInfo.Hash = stream.ComputeSHA2Hash(); beatmapInfo.Hash = stream.ComputeSHA2Hash();