1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix apparently required argument

This commit is contained in:
Dean Herbert 2020-05-11 16:37:08 +09:00
parent 93440874db
commit 7f7d5e6617

View File

@ -6,6 +6,7 @@ using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using osu.Framework.Audio.Track;
using osu.Framework.Graphics.Textures;
@ -59,7 +60,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
{
var stream = new MemoryStream();
using (var writer = new StreamWriter(stream, leaveOpen: true))
using (var writer = new StreamWriter(stream, Encoding.UTF8, leaveOpen: true))
new LegacyBeatmapEncoder(beatmap).Encode(writer);
stream.Position = 0;