Turning off debugging
This commit is contained in:
parent
0cdb4855ad
commit
4c25bf4721
@ -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;
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user