diff --git a/Rebuilder/Rebuilder.cs b/Rebuilder/Rebuilder.cs index 88439a3..62bca50 100644 --- a/Rebuilder/Rebuilder.cs +++ b/Rebuilder/Rebuilder.cs @@ -1315,10 +1315,13 @@ public void LaunchGame() p.Exited += new EventHandler(ProcessExit); processes.Add(p); - form.run_button.Text = ConfigForm.run_button_kill; - if (patch_config.MultipleInstances) + if (form != null) { - form.run_additional_button.Visible = true; + form.run_button.Text = ConfigForm.run_button_kill; + if (patch_config.MultipleInstances) + { + form.run_additional_button.Visible = true; + } } Log("Game launched successfully");