diff options
author | Robert Adams | 2014-08-21 06:36:19 -0700 |
---|---|---|
committer | Robert Adams | 2014-08-21 06:36:19 -0700 |
commit | 7ba3b88fb66de8c22ae1e067224b40214c23957c (patch) | |
tree | 24fec969bc6894d273565bb4d53da0b4196dae90 /OpenSim/Tools/pCampBot | |
parent | Fix typo in OpenSimDefaults.ini comment (diff) | |
parent | Extend drop command to "debug lludp drop <in|out>..." to allow drop of inboun... (diff) | |
download | opensim-SC_OLD-7ba3b88fb66de8c22ae1e067224b40214c23957c.zip opensim-SC_OLD-7ba3b88fb66de8c22ae1e067224b40214c23957c.tar.gz opensim-SC_OLD-7ba3b88fb66de8c22ae1e067224b40214c23957c.tar.bz2 opensim-SC_OLD-7ba3b88fb66de8c22ae1e067224b40214c23957c.tar.xz |
Merge branch 'master' into bullet-2.82
Diffstat (limited to 'OpenSim/Tools/pCampBot')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index b10f552..29739dc 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -690,7 +690,14 @@ namespace pCampBot | |||
690 | { | 690 | { |
691 | lock (m_bots) | 691 | lock (m_bots) |
692 | { | 692 | { |
693 | m_bots.ForEach(b => b.SitOnGround()); | 693 | foreach (Bot bot in m_bots) |
694 | { | ||
695 | if (bot.ConnectionState == ConnectionState.Connected) | ||
696 | { | ||
697 | MainConsole.Instance.OutputFormat("Sitting bot {0} on ground.", bot.Name); | ||
698 | bot.SitOnGround(); | ||
699 | } | ||
700 | } | ||
694 | } | 701 | } |
695 | } | 702 | } |
696 | 703 | ||
@@ -698,7 +705,14 @@ namespace pCampBot | |||
698 | { | 705 | { |
699 | lock (m_bots) | 706 | lock (m_bots) |
700 | { | 707 | { |
701 | m_bots.ForEach(b => b.Stand()); | 708 | foreach (Bot bot in m_bots) |
709 | { | ||
710 | if (bot.ConnectionState == ConnectionState.Connected) | ||
711 | { | ||
712 | MainConsole.Instance.OutputFormat("Standing bot {0} from ground.", bot.Name); | ||
713 | bot.Stand(); | ||
714 | } | ||
715 | } | ||
702 | } | 716 | } |
703 | } | 717 | } |
704 | 718 | ||