mirror of https://github.com/ppy/osu
Fix incorrect ruleset being recorded to file
This commit is contained in:
parent
448961b330
commit
02a3c7c025
|
@ -34,7 +34,7 @@ public void Encode(Stream stream)
|
|||
{
|
||||
using (SerializationWriter sw = new SerializationWriter(stream))
|
||||
{
|
||||
sw.Write((byte)score.ScoreInfo.RulesetID);
|
||||
sw.Write((byte)(score.ScoreInfo.Ruleset.ID ?? 0));
|
||||
sw.Write(LATEST_VERSION);
|
||||
sw.Write(score.ScoreInfo.Beatmap.MD5Hash);
|
||||
sw.Write(score.ScoreInfo.UserString);
|
||||
|
|
Loading…
Reference in New Issue