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")]