mirror of
https://github.com/isledecomp/LEGOIslandRebuilder.git
synced 2024-11-23 15:48:03 -05:00
Merge pull request #30 from someperson/runfix
Added null check to fix problem with run flag
This commit is contained in:
commit
d32dff5beb
1 changed files with 6 additions and 3 deletions
|
@ -1315,10 +1315,13 @@ namespace Rebuilder
|
||||||
p.Exited += new EventHandler(ProcessExit);
|
p.Exited += new EventHandler(ProcessExit);
|
||||||
processes.Add(p);
|
processes.Add(p);
|
||||||
|
|
||||||
form.run_button.Text = ConfigForm.run_button_kill;
|
if (form != null)
|
||||||
if (patch_config.MultipleInstances)
|
|
||||||
{
|
{
|
||||||
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");
|
Log("Game launched successfully");
|
||||||
|
|
Loading…
Reference in a new issue