diff --git a/Client/Core/SystemCore.cs b/Client/Core/SystemCore.cs index caa324b4..086a1a31 100644 --- a/Client/Core/SystemCore.cs +++ b/Client/Core/SystemCore.cs @@ -98,7 +98,7 @@ public static int GetRam() } catch { - return 0; + return -1; } } diff --git a/Server/Core/Build/ClientBuilder.cs b/Server/Core/Build/ClientBuilder.cs index 773b6e81..efeb2a23 100644 --- a/Server/Core/Build/ClientBuilder.cs +++ b/Server/Core/Build/ClientBuilder.cs @@ -155,7 +155,7 @@ private static sbyte GetSpecialFolder(int installpath) case 3: return 37; // System default: - return 26; // Appdata + throw new ArgumentException("InstallPath"); } } }