Turning off debugging
This commit is contained in:
		| @@ -524,7 +524,6 @@ namespace EduNetworkBuilder | ||||
|             } | ||||
|             else if (MyMode == LBContents.regressiontest) | ||||
|             { | ||||
|                 Console.WriteLine("  Test button pressed at " + DateTime.UtcNow.ToString()); | ||||
|                 if (lbWindowData.SelectedItem is MyPuzzleEntry) | ||||
|                 { | ||||
|                     MyPuzzleEntry MPE = (MyPuzzleEntry)lbWindowData.SelectedItem; | ||||
| @@ -533,14 +532,11 @@ namespace EduNetworkBuilder | ||||
|                     BuilderWindow myWin = (BuilderWindow)Application.OpenForms["BuilderWindow"]; | ||||
|                     if (myWin != null) | ||||
|                     { | ||||
|                         Console.WriteLine("  Testing for replay at " + DateTime.UtcNow.ToString()); | ||||
|  | ||||
|                         if (oursettings.HasReplay(TheName)) | ||||
|                         { | ||||
|                             Console.WriteLine("  Replay found at " + DateTime.UtcNow.ToString()); | ||||
|                             //myWin.Activate(); | ||||
|                             FormColorForTesting(); | ||||
|                             Console.WriteLine("  Coloring finished at " + DateTime.UtcNow.ToString()); | ||||
|                             myWin.replayNetwork(TheName, 1); | ||||
|                             //Return back to the listbox window | ||||
|                             Visible = true; | ||||
|   | ||||
| @@ -379,8 +379,8 @@ namespace EduNetworkBuilder | ||||
|         public static int NormalRotation = 5; | ||||
|         public static int PacketDamageDistance = 25; | ||||
|  | ||||
|         public static bool DebugActions = true; | ||||
|         public static bool DebugTests = true; | ||||
|         public static bool DebugActions = false; | ||||
|         public static bool DebugTests = false; | ||||
|  | ||||
|         public static int NumBadPackets = 7; //the number of packets to spray out | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user