Move one of the old physics sleeps out into the main bot loop, so leaving out PhysicsBehaviour doesn't result in continuous other behaviours
parent
5a67940acc
commit
ca2c25ece2
|
@ -150,6 +150,8 @@ namespace pCampBot
|
||||||
{
|
{
|
||||||
// m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType());
|
// m_log.DebugFormat("[pCAMPBOT]: For {0} performing action {1}", Name, b.GetType());
|
||||||
b.Action(this);
|
b.Action(this);
|
||||||
|
|
||||||
|
Thread.Sleep(Random.Next(1000, 10000));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue