For individual bots, seed random number generator with a random number from BotManager rather than Environment.Tickcount
Otherwise, since bots are now created all at once, a bunch will get exactly the same tickcount and hence number sequenceslink-sitting
parent
cc7065f9ee
commit
c6395240f0
|
@ -166,7 +166,7 @@ namespace pCampBot
|
|||
{
|
||||
ConnectionState = ConnectionState.Disconnected;
|
||||
|
||||
Random = new Random(Environment.TickCount);// We do stuff randomly here
|
||||
Random = new Random(bm.Rng.Next());
|
||||
FirstName = firstName;
|
||||
LastName = lastName;
|
||||
Name = string.Format("{0} {1}", FirstName, LastName);
|
||||
|
|
Loading…
Reference in New Issue