mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix merge regression
This commit is contained in:
@ -111,7 +111,11 @@ namespace osu.Game.Tests.Beatmaps
|
|||||||
{
|
{
|
||||||
using (var resStream = openResource($"{resource_namespace}.{name}.osu"))
|
using (var resStream = openResource($"{resource_namespace}.{name}.osu"))
|
||||||
using (var stream = new StreamReader(resStream))
|
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)
|
private Stream openResource(string name)
|
||||||
|
Reference in New Issue
Block a user