bug fix
This commit is contained in:
parent
398eef42bf
commit
9ba8394820
1 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue