From a0d4b5a35a61c420104e6927c90c91fe2522bb11 Mon Sep 17 00:00:00 2001 From: Thorwin Vogt Date: Thu, 23 Apr 2020 19:38:06 +0200 Subject: [PATCH] Changed version info --- SEWorldGenPlugin/Generator/SystemGenerator.cs | 2 +- SEWorldGenPlugin/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SEWorldGenPlugin/Generator/SystemGenerator.cs b/SEWorldGenPlugin/Generator/SystemGenerator.cs index 42b6799..c2a9835 100644 --- a/SEWorldGenPlugin/Generator/SystemGenerator.cs +++ b/SEWorldGenPlugin/Generator/SystemGenerator.cs @@ -311,7 +311,7 @@ private void ShuffleMandatoryPlanets() if (n <= 0) return; while(n > 1) { - int index = MyRandom.Instance.Next(n - 1); + int index = MyRandom.Instance.Next(1, n - 1); var value = m_mandatoryPlanets[index]; m_mandatoryPlanets[index] = m_mandatoryPlanets[n]; m_mandatoryPlanets[n] = value; diff --git a/SEWorldGenPlugin/Properties/AssemblyInfo.cs b/SEWorldGenPlugin/Properties/AssemblyInfo.cs index 90a8fa8..dc5dff4 100644 --- a/SEWorldGenPlugin/Properties/AssemblyInfo.cs +++ b/SEWorldGenPlugin/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.7.2")] +[assembly: AssemblyVersion("1.7.3")] [assembly: AssemblyFileVersion("1.0.0")]