From 3a643e24560a8200dd99a855d1cc7ed1d3b4b9c5 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 15 Aug 2014 22:43:55 +0100 Subject: Don't allow the last behavior to be removed from a pCampbot bot If you want to stop existing behavious, add the None behaviour. --- OpenSim/Tools/pCampBot/BotManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Tools/pCampBot/BotManager.cs') 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 } MainConsole.Instance.OutputFormat( - "Removed behaviours {0} to bot {1}", + "Removed behaviours {0} from bot {1}", string.Join(", ", behavioursRemoved.ConvertAll(b => b.Name).ToArray()), bot.Name); } } -- cgit v1.1