From f6dc85c2f8334d8ab1ab368d4a3d6dcdb6f9c038 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Thu, 18 May 2017 12:39:51 +0900 Subject: [PATCH] Fix incorrect note count probabilities. --- osu.Game.Rulesets.Mania/Beatmaps/ObjectConversion.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Mania/Beatmaps/ObjectConversion.cs b/osu.Game.Rulesets.Mania/Beatmaps/ObjectConversion.cs index 9dee1116e0..bee7477261 100644 --- a/osu.Game.Rulesets.Mania/Beatmaps/ObjectConversion.cs +++ b/osu.Game.Rulesets.Mania/Beatmaps/ObjectConversion.cs @@ -60,7 +60,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps /// Probability for 5 notes to be generated. /// Probability for 6 notes to be generated. /// The amount of notes to be generated. - protected int GetRandomNoteCount(double p2, double p3, double p4 = 1, double p5 = 1, double p6 = 1) + protected int GetRandomNoteCount(double p2, double p3, double p4 = 0, double p5 = 0, double p6 = 0) { double val = Random.NextDouble(); if (val >= 1 - p6)