Turning off debugging

This commit is contained in:
Tim Young 2018-10-05 10:52:30 -05:00
parent 0cdb4855ad
commit 4c25bf4721
2 changed files with 2 additions and 6 deletions

View File

@ -524,7 +524,6 @@ namespace EduNetworkBuilder
} }
else if (MyMode == LBContents.regressiontest) else if (MyMode == LBContents.regressiontest)
{ {
Console.WriteLine(" Test button pressed at " + DateTime.UtcNow.ToString());
if (lbWindowData.SelectedItem is MyPuzzleEntry) if (lbWindowData.SelectedItem is MyPuzzleEntry)
{ {
MyPuzzleEntry MPE = (MyPuzzleEntry)lbWindowData.SelectedItem; MyPuzzleEntry MPE = (MyPuzzleEntry)lbWindowData.SelectedItem;
@ -533,14 +532,11 @@ namespace EduNetworkBuilder
BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"]; BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"];
if (myWin != null) if (myWin != null)
{ {
Console.WriteLine(" Testing for replay at " + DateTime.UtcNow.ToString());
if (oursettings.HasReplay(TheName)) if (oursettings.HasReplay(TheName))
{ {
Console.WriteLine(" Replay found at " + DateTime.UtcNow.ToString());
//myWin.Activate(); //myWin.Activate();
FormColorForTesting(); FormColorForTesting();
Console.WriteLine(" Coloring finished at " + DateTime.UtcNow.ToString());
myWin.replayNetwork(TheName, 1); myWin.replayNetwork(TheName, 1);
//Return back to the listbox window //Return back to the listbox window
Visible = true; Visible = true;

View File

@ -379,8 +379,8 @@ namespace EduNetworkBuilder
public static int NormalRotation = 5; public static int NormalRotation = 5;
public static int PacketDamageDistance = 25; public static int PacketDamageDistance = 25;
public static bool DebugActions = true; public static bool DebugActions = false;
public static bool DebugTests = true; public static bool DebugTests = false;
public static int NumBadPackets = 7; //the number of packets to spray out public static int NumBadPackets = 7; //the number of packets to spray out