mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 20:23:00 +08:00
Fix incorrect ruleset being recorded to file
This commit is contained in:
parent
448961b330
commit
02a3c7c025
@ -34,7 +34,7 @@ namespace osu.Game.Scoring.Legacy
|
|||||||
{
|
{
|
||||||
using (SerializationWriter sw = new SerializationWriter(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(LATEST_VERSION);
|
||||||
sw.Write(score.ScoreInfo.Beatmap.MD5Hash);
|
sw.Write(score.ScoreInfo.Beatmap.MD5Hash);
|
||||||
sw.Write(score.ScoreInfo.UserString);
|
sw.Write(score.ScoreInfo.UserString);
|
||||||
|
Loading…
Reference in New Issue
Block a user