From ad6abc9fa6743b8959ef6b5e1ca3147254093da8 Mon Sep 17 00:00:00 2001 From: PierreDuv Date: Tue, 30 Jul 2024 19:27:12 +0200 Subject: [PATCH] fix(config) : fix crash issue when loading config --- LINDRA - Market/LINDRA - Market/Views/UC_Settings.cs | 1 + .../LINDRA - Market/form/FpsUnlocker/Views/UC_Settings.cs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/LINDRA - Market/LINDRA - Market/Views/UC_Settings.cs b/LINDRA - Market/LINDRA - Market/Views/UC_Settings.cs index e2cc4e0..b32733b 100644 --- a/LINDRA - Market/LINDRA - Market/Views/UC_Settings.cs +++ b/LINDRA - Market/LINDRA - Market/Views/UC_Settings.cs @@ -124,5 +124,6 @@ private void buttonUpdate_Click(object sender, EventArgs e) Process.Start($"{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\\MarketUpdater.exe"); Application.Exit(); } + } } \ No newline at end of file diff --git a/LINDRA - Market/LINDRA - Market/form/FpsUnlocker/Views/UC_Settings.cs b/LINDRA - Market/LINDRA - Market/form/FpsUnlocker/Views/UC_Settings.cs index 2925bcc..d9847b1 100644 --- a/LINDRA - Market/LINDRA - Market/form/FpsUnlocker/Views/UC_Settings.cs +++ b/LINDRA - Market/LINDRA - Market/form/FpsUnlocker/Views/UC_Settings.cs @@ -67,8 +67,6 @@ private void buttonLoad_Click(object sender, EventArgs e) FpsSettings.sw_glow = (bool.Parse(ini.IniReadValue("Disable", "NoGlow"))); FpsSettings.sw_bullet = (bool.Parse(ini.IniReadValue("Disable", "NoBullet"))); FpsSettings.sw_camos = (bool.Parse(ini.IniReadValue("Disable", "NoSkins"))); - FpsSettings.allies_feed = (Color.FromArgb(int.Parse(ini.IniReadValue("Feed", "Allies")))); - FpsSettings.axis_feed = (Color.FromArgb(int.Parse(ini.IniReadValue("Feed", "Axis")))); try { FpsSettings.bar_fovScale = (int.Parse(ini.IniReadValue("Fov&fps", "FovMinimum")));