diff --git a/SEWorldGenPlugin/Properties/AssemblyInfo.cs b/SEWorldGenPlugin/Properties/AssemblyInfo.cs index b1b72f3..3b90f7f 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.6.7")] +[assembly: AssemblyVersion("1.7.0")] [assembly: AssemblyFileVersion("1.0.0")] diff --git a/SEWorldGenPlugin/http/VersionCheck.cs b/SEWorldGenPlugin/http/VersionCheck.cs index bcf4a69..1324dd9 100644 --- a/SEWorldGenPlugin/http/VersionCheck.cs +++ b/SEWorldGenPlugin/http/VersionCheck.cs @@ -55,7 +55,8 @@ public bool IsNewest() for(int i = 0; i < Math.Min(vc.Length, vl.Length); i++) { - if (int.Parse(vl[i]) > int.Parse(vc[i])) return false; + if (int.Parse(vc[i]) > int.Parse(vl[i])) return true; + if (int.Parse(vc[i]) < int.Parse(vl[i])) return false; } return true;