From 1cb3c200a996a910f330dccc426f0dbf31ab478d Mon Sep 17 00:00:00 2001
From: NorbiPeti <szatmari.norbert.peter@gmail.com>
Date: Mon, 12 Jul 2021 01:22:14 +0200
Subject: [PATCH] Remove autopatching setting

---
 TBMM/SettingsForm.Designer.cs | 13 -------------
 TBMM/SettingsForm.cs          |  4 +---
 2 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/TBMM/SettingsForm.Designer.cs b/TBMM/SettingsForm.Designer.cs
index 9641a14..9778d47 100644
--- a/TBMM/SettingsForm.Designer.cs
+++ b/TBMM/SettingsForm.Designer.cs
@@ -34,7 +34,6 @@
             this.browsebtn = new System.Windows.Forms.Button();
             this.savebtn = new System.Windows.Forms.Button();
             this.cancelbtn = new System.Windows.Forms.Button();
-            this.autopatching = new System.Windows.Forms.CheckBox();
             this.SuspendLayout();
             // 
             // label1
@@ -93,16 +92,6 @@
             this.cancelbtn.UseVisualStyleBackColor = true;
             this.cancelbtn.Click += new System.EventHandler(this.cancelbtn_Click);
             // 
-            // autopatching
-            // 
-            this.autopatching.AutoSize = true;
-            this.autopatching.Location = new System.Drawing.Point(12, 56);
-            this.autopatching.Name = "autopatching";
-            this.autopatching.Size = new System.Drawing.Size(194, 17);
-            this.autopatching.TabIndex = 6;
-            this.autopatching.Text = "Enable auto-patching on game start";
-            this.autopatching.UseVisualStyleBackColor = true;
-            // 
             // SettingsForm
             // 
             this.AcceptButton = this.savebtn;
@@ -111,7 +100,6 @@
             this.BackColor = System.Drawing.Color.Black;
             this.CancelButton = this.cancelbtn;
             this.ClientSize = new System.Drawing.Size(439, 148);
-            this.Controls.Add(this.autopatching);
             this.Controls.Add(this.cancelbtn);
             this.Controls.Add(this.savebtn);
             this.Controls.Add(this.browsebtn);
@@ -139,7 +127,6 @@
         private System.Windows.Forms.Button browsebtn;
         private System.Windows.Forms.Button savebtn;
         private System.Windows.Forms.Button cancelbtn;
-        private System.Windows.Forms.CheckBox autopatching;
     }
 }
 
diff --git a/TBMM/SettingsForm.cs b/TBMM/SettingsForm.cs
index f3d68fc..b6a1bd6 100644
--- a/TBMM/SettingsForm.cs
+++ b/TBMM/SettingsForm.cs
@@ -6,7 +6,7 @@ namespace TBMM
     public partial class SettingsForm : Form
     {
         private MainForm mainForm;
-        private bool autopatchingEnabled;
+
         public SettingsForm()
         {
             InitializeComponent();
@@ -16,8 +16,6 @@ namespace TBMM
         {
             mainForm = (MainForm) Owner;
             gamelocation.Text = mainForm.Configuration.GamePath;
-            autopatchingEnabled = mainForm.Configuration.AutoPatch == AutoPatchingState.Enabled;
-            autopatching.Checked = autopatchingEnabled;
         }
 
         private void browsebtn_Click(object sender, EventArgs e)