mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 11:37:32 +09:00
Fix merge regression
This commit is contained in:
parent
7b18e8a5ca
commit
c4c1b0b6ff
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user