Skip to content

Commit

Permalink
Fix stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
HurpDurp committed Oct 11, 2016
1 parent 7eaa92c commit daa4cc3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions TF2 Benchmarker/TF2 Benchmarker/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,13 +1041,15 @@ private void WarnExistingAutoexec(string path)
var confs = new DirectoryInfo(cfgPath).GetFiles("autoexec.cfg", System.IO.SearchOption.AllDirectories);

if (customConfs.Length > 0 || confs.Length > 0)
{
Log("WARNING: An existing autoexec.cfg was found.");

MessageBox.Show("An existing autoexec.cfg was found.\n" +
"Please remove or rename it to ensure accurate benchmark results.",
"Warning",
MessageBoxButtons.OK,
MessageBoxIcon.Exclamation);
MessageBox.Show("An existing autoexec.cfg was found.\n" +
"Please remove or rename it to ensure accurate benchmark results.",
"Warning",
MessageBoxButtons.OK,
MessageBoxIcon.Exclamation);
}
}

#endregion
Expand Down

0 comments on commit daa4cc3

Please sign in to comment.