From 9ba83948202f0720e04be35bedf3ca50415145cc Mon Sep 17 00:00:00 2001 From: WeeXnes Date: Mon, 4 Jul 2022 19:14:32 +0200 Subject: [PATCH] bug fix --- WeeXnes/Core/Globals.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WeeXnes/Core/Globals.cs b/WeeXnes/Core/Globals.cs index ab195e2..03c0bb7 100644 --- a/WeeXnes/Core/Globals.cs +++ b/WeeXnes/Core/Globals.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using System.Windows.Forms; using CSGSI; using Nocksoft.IO.ConfigFiles; +using MessageBox = System.Windows.MessageBox; namespace WeeXnes.Core { @@ -16,7 +17,7 @@ namespace WeeXnes.Core public static string encryptionKey = "8zf5#RdyQ]$4x4_"; public static string AppDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "WeeXnes"); public static string SettingsFileName = "settings.ini"; - public static string version = "3.5"; + public static string version = "3.6"; public static bool info_isRpcRunning = false; public static bool info_RpcAutoStart; public static string apiUrl = "http://www.weexnes.com:5169/"; @@ -99,7 +100,6 @@ namespace WeeXnes.Core Globals.settings_builtInCSGORpc.Value = Convert.ToBoolean(SettingsFile.GetValue("rpc", "csgoPresence")); - } private static void setEventListeners() @@ -188,7 +188,7 @@ namespace WeeXnes.Core }; Globals.settings_builtInCSGORpc.ValueChanged += () => { - SettingsFile.SetValue("rpc","csgoPresence", Convert.ToString(Globals.settings_RpcAutoStart.Value)); + SettingsFile.SetValue("rpc","csgoPresence", Convert.ToString(Globals.settings_builtInCSGORpc.Value)); }; }