diff --git a/GUI/Controls/ManageMods.cs b/GUI/Controls/ManageMods.cs index e9588dc35..1a393cdd5 100644 --- a/GUI/Controls/ManageMods.cs +++ b/GUI/Controls/ManageMods.cs @@ -554,8 +554,6 @@ private void _MarkModForUpdate(string identifier, bool value) private void LaunchGameToolStripMenuItem_MouseHover(object sender, EventArgs e) { var cmdLines = Main.Instance.configuration.CommandLines; - LaunchGameToolStripMenuItem.Tag = - LaunchGameToolStripMenuItem.ToolTipText = cmdLines.First(); LaunchGameToolStripMenuItem.DropDownItems.Clear(); LaunchGameToolStripMenuItem.DropDownItems.AddRange( cmdLines.Select(cmdLine => (ToolStripItem) diff --git a/GUI/Main/Main.cs b/GUI/Main/Main.cs index 1455ec0a3..2eaebd38e 100644 --- a/GUI/Main/Main.cs +++ b/GUI/Main/Main.cs @@ -937,11 +937,15 @@ private void openGameDirectoryToolStripMenuItem_Click(object sender, EventArgs e private void openGameToolStripMenuItem_Click(object sender, EventArgs e) { - LaunchGame(configuration.CommandLines.First()); + LaunchGame(); } - private void LaunchGame(string command) + private void LaunchGame(string command = null) { + if (string.IsNullOrEmpty(command)) + { + command = configuration.CommandLines.First(); + } var split = command.Split(' '); if (split.Length == 0) {