From f0d7408d16a895322f3138951eb0085aaa929c4c Mon Sep 17 00:00:00 2001 From: Flutterish Date: Sat, 4 May 2024 09:17:05 +0200 Subject: [PATCH] Update Osu.Framework / Update GenrateeBreals structure along new request of Frameworkbump osu version --- Hitokori/Beatmaps/HitokoriBeatmapConverter.cs | 5 +++-- Hitokori/osu.Game.Rulesets.Hitokori.csproj | 2 +- Tests/osu.Game.Rulesets.Hitokori.Tests.csproj | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Hitokori/Beatmaps/HitokoriBeatmapConverter.cs b/Hitokori/Beatmaps/HitokoriBeatmapConverter.cs index cd14118..d119c2c 100644 --- a/Hitokori/Beatmaps/HitokoriBeatmapConverter.cs +++ b/Hitokori/Beatmaps/HitokoriBeatmapConverter.cs @@ -1,4 +1,5 @@ -using osu.Framework.Extensions.IEnumerableExtensions; +using osu.Framework.Bindables; +using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Beatmaps; using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets.Hitokori.Mods; @@ -208,7 +209,7 @@ void PostProcess ( HitokoriBeatmap Beatmap ) { } void GenerateBreaks ( HitokoriBeatmap Beatmap ) { - List breaks = new List(); + BindableList breaks = new BindableList(); foreach ( var i in Beatmap.HitObjects.OfType() ) { if ( i.LastPoint.Duration >= HitokoriPlayfield.MinimumBreakTime ) { diff --git a/Hitokori/osu.Game.Rulesets.Hitokori.csproj b/Hitokori/osu.Game.Rulesets.Hitokori.csproj index 94478ad..4dcdc18 100644 --- a/Hitokori/osu.Game.Rulesets.Hitokori.csproj +++ b/Hitokori/osu.Game.Rulesets.Hitokori.csproj @@ -6,7 +6,7 @@ - + diff --git a/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj b/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj index 56ceaf0..7d0365e 100644 --- a/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj +++ b/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj @@ -10,7 +10,7 @@ - +