mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
On pCampbot, if we add the none (n) behaviour then make it actually stop any bots in motion.
Previously, adding this behaviour after physics (p) would leave the bot to drift off for ever in its last movement direction.
This commit is contained in:
@@ -46,7 +46,10 @@ namespace pCampBot
|
||||
|
||||
public override void Action()
|
||||
{
|
||||
Bot.Client.Self.Jump(false);
|
||||
Bot.Client.Self.Movement.Stop = true;
|
||||
m_interruptEvent.WaitOne();
|
||||
Bot.Client.Self.Movement.Stop = false;
|
||||
}
|
||||
|
||||
public override void Interrupt()
|
||||
|
||||
Reference in New Issue
Block a user