diff --git a/osu.Game.Rulesets.Sentakki/Beatmaps/Converter/TwinPattern.cs b/osu.Game.Rulesets.Sentakki/Beatmaps/Converter/TwinPattern.cs index 2988e3852..02ae3e759 100644 --- a/osu.Game.Rulesets.Sentakki/Beatmaps/Converter/TwinPattern.cs +++ b/osu.Game.Rulesets.Sentakki/Beatmaps/Converter/TwinPattern.cs @@ -55,7 +55,7 @@ public void NewPattern() while (true) { - if (rng.NextSingle() > prob) + if (rng.NextDouble() > prob) break; cycleLanes.Add(rng.Next(0, 8)); diff --git a/osu.Game.Rulesets.Sentakki/Extensions/EnumerableExtensions.cs b/osu.Game.Rulesets.Sentakki/Extensions/EnumerableExtensions.cs index 5bfc45741..fc5ae3b8f 100644 --- a/osu.Game.Rulesets.Sentakki/Extensions/EnumerableExtensions.cs +++ b/osu.Game.Rulesets.Sentakki/Extensions/EnumerableExtensions.cs @@ -20,7 +20,7 @@ public static T ProbabilityPick(this IEnumerable enumerable, Func