From 293f5e2eb7ed982f59bdf0217ffe95d46768f667 Mon Sep 17 00:00:00 2001 From: Thorwin Vogt Date: Thu, 19 Mar 2020 20:48:15 +0100 Subject: [PATCH] Update for SE 1.9.4 --- SEWorldGenPlugin/Properties/AssemblyInfo.cs | 2 +- SEWorldGenPlugin/http/VersionCheck.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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;