mirror of
https://github.com/ppy/osu
synced 2025-02-17 10:57:03 +00:00
Fix legacy scores with no online ID being imported with a non-null ID
This commit is contained in:
parent
f04f10e59a
commit
ac01e9fbeb
@ -80,6 +80,9 @@ namespace osu.Game.Scoring.Legacy
|
||||
else if (version >= 20121008)
|
||||
scoreInfo.OnlineScoreID = sr.ReadInt32();
|
||||
|
||||
if (scoreInfo.OnlineScoreID <= 0)
|
||||
scoreInfo.OnlineScoreID = null;
|
||||
|
||||
if (compressedReplay?.Length > 0)
|
||||
{
|
||||
using (var replayInStream = new MemoryStream(compressedReplay))
|
||||
|
Loading…
Reference in New Issue
Block a user