Fixed some issues but still non working

This commit is contained in:
2022-04-29 16:23:55 +02:00
parent 3a91edfaa3
commit 11c84ea2d4
+5 -5
View File
@@ -128,15 +128,15 @@ namespace SharpPropagation
int[] stats; int[] stats;
do do
{ {
//REMOVE THIS WHEN RELEASE
test++; test++;
/*
if (test > 100) if (test > 100)
{ {
Display(); //Display();
test = 0; test = 0;
} }
*/
stats = GetStats(); stats = GetStats();
List<Human> peopleToCheck = new List<Human>(); List<Human> peopleToCheck = new List<Human>();
@@ -280,7 +280,7 @@ namespace SharpPropagation
}//); }//);
} }
} /*while (stats[1] > 0);*/ while (test < 1000); }while (stats[1] > 0); /*while (test < 1000);*/
// It will run until the last infected man either dies or cures // It will run until the last infected man either dies or cures
} }
public bool wouldBeInfected() public bool wouldBeInfected()