1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-09 00:52:54 +08:00

Changed variable names

This commit is contained in:
Will Kennedy 2020-04-02 22:02:57 -04:00
parent 57944bd335
commit 877bd7837a

View File

@ -137,15 +137,15 @@ namespace osu.Game.Tests.Beatmaps.Formats
{ {
var legacyDecoded = new LegacyBeatmapDecoder { ApplyOffsets = false }.Decode(sr); var legacyDecoded = new LegacyBeatmapDecoder { ApplyOffsets = false }.Decode(sr);
using (var ms = new MemoryStream()) using (var memStream = new MemoryStream())
using (var sw = new StreamWriter(ms)) using (var memWriter = new StreamWriter(memStream))
using (var sr2 = new LineBufferedReader(ms)) using (var memReader = new LineBufferedReader(memStream))
{ {
sw.Write(legacyDecoded.Serialize()); memWriter.Write(legacyDecoded.Serialize());
sw.Flush(); memWriter.Flush();
ms.Position = 0; memStream.Position = 0;
decoder = Decoder.GetDecoder<Beatmap>(sr2); decoder = Decoder.GetDecoder<Beatmap>(memReader);
} }
} }