1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 20:20:28 +08:00

Merge pull request #15269 from peppy/new-layout-inspections

Fix a couple of new layout inspections introduced in Rider 2021.3 EAP5
This commit is contained in:
Bartłomiej Dach
2021-10-24 17:18:37 +02:00
committed by GitHub
Unverified
2 changed files with 4 additions and 4 deletions
+3 -2
View File
@@ -151,8 +151,9 @@ namespace osu.Game.Rulesets.Osu.Objects
{
base.CreateNestedHitObjects(cancellationToken);
foreach (var e in
SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset, cancellationToken))
var sliderEvents = SliderEventGenerator.Generate(StartTime, SpanDuration, Velocity, TickDistance, Path.Distance, this.SpanCount(), LegacyLastTickOffset, cancellationToken);
foreach (var e in sliderEvents)
{
switch (e.Type)
{
@@ -77,8 +77,7 @@ namespace osu.Game.Tests.Beatmaps.IO
{
var reader = new ZipArchiveReader(osz);
using (var stream = new StreamReader(
reader.GetStream("Soleily - Renatus (Deif) [Platter].osu")))
using (var stream = new StreamReader(reader.GetStream("Soleily - Renatus (Deif) [Platter].osu")))
{
Assert.AreEqual("osu file format v13", stream.ReadLine()?.Trim());
}