mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix newly found inspections from 2021.1EAP1
This commit is contained in:
@ -31,12 +31,16 @@ namespace osu.Game.Tests.Beatmaps
|
||||
using (var stream = new LineBufferedReader(resStream))
|
||||
{
|
||||
var decoder = Decoder.GetDecoder<Beatmap>(stream);
|
||||
|
||||
((LegacyBeatmapDecoder)decoder).ApplyOffsets = false;
|
||||
|
||||
var working = new TestWorkingBeatmap(decoder.Decode(stream));
|
||||
working.BeatmapInfo.Ruleset = CreateRuleset().RulesetInfo;
|
||||
|
||||
return working;
|
||||
return new TestWorkingBeatmap(decoder.Decode(stream))
|
||||
{
|
||||
BeatmapInfo =
|
||||
{
|
||||
Ruleset = CreateRuleset().RulesetInfo
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user