1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Fix merge regression

This commit is contained in:
Dean Herbert 2018-03-06 01:39:01 +09:00
parent 7b18e8a5ca
commit c4c1b0b6ff

View File

@ -111,7 +111,11 @@ namespace osu.Game.Tests.Beatmaps
{
using (var resStream = openResource($"{resource_namespace}.{name}.osu"))
using (var stream = new StreamReader(resStream))
return Decoder.GetDecoder(stream).DecodeBeatmap(stream);
{
var decoder = Decoder.GetDecoder(stream);
((LegacyBeatmapDecoder)decoder).ApplyOffsets = false;
return decoder.DecodeBeatmap(stream);
}
}
private Stream openResource(string name)