diff options
author | Justin Clark-Casey (justincc) | 2014-08-15 22:43:55 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-08-15 22:44:31 +0100 |
commit | 3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5 (patch) | |
tree | 32bb6a95cc2aa04d5b0b8a275ae4491c2540bc55 /OpenSim/Tools/pCampBot/BotManager.cs | |
parent | Resolve a small race condition on removing bot behaviours that might leave pr... (diff) | |
download | opensim-SC_OLD-3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5.zip opensim-SC_OLD-3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5.tar.gz opensim-SC_OLD-3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5.tar.bz2 opensim-SC_OLD-3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5.tar.xz |
Don't allow the last behavior to be removed from a pCampbot bot
If you want to stop existing behavious, add the None behaviour.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index b199931..b10f552 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -628,7 +628,7 @@ namespace pCampBot | |||
628 | } | 628 | } |
629 | 629 | ||
630 | MainConsole.Instance.OutputFormat( | 630 | MainConsole.Instance.OutputFormat( |
631 | "Removed behaviours {0} to bot {1}", | 631 | "Removed behaviours {0} from bot {1}", |
632 | string.Join(", ", behavioursRemoved.ConvertAll<string>(b => b.Name).ToArray()), bot.Name); | 632 | string.Join(", ", behavioursRemoved.ConvertAll<string>(b => b.Name).ToArray()), bot.Name); |
633 | } | 633 | } |
634 | } | 634 | } |