aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-09-03 19:58:27 +0100
committerJustin Clark-Casey (justincc)2013-09-04 00:48:23 +0100
commit6f1ff47feee180c876cc5206dd7c82302ae1b567 (patch)
treed5b6db46095123a357ac9c84a919989fe672561c /OpenSim/Tools
parentMake pCampbot "add behaviour" and "remove behaviour" console commands work fo... (diff)
downloadopensim-SC_OLD-6f1ff47feee180c876cc5206dd7c82302ae1b567.zip
opensim-SC_OLD-6f1ff47feee180c876cc5206dd7c82302ae1b567.tar.gz
opensim-SC_OLD-6f1ff47feee180c876cc5206dd7c82302ae1b567.tar.bz2
opensim-SC_OLD-6f1ff47feee180c876cc5206dd7c82302ae1b567.tar.xz
In pCampbot PhysicsBehaviour.Close(), only cancel jumping if bot is connected
Diffstat (limited to 'OpenSim/Tools')
-rw-r--r--OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
index 65a7c90..6fd2b7c 100644
--- a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
+++ b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs
@@ -80,7 +80,8 @@ namespace pCampBot
80 80
81 public override void Close() 81 public override void Close()
82 { 82 {
83 Bot.Client.Self.Jump(false); 83 if (Bot.ConnectionState == ConnectionState.Connected)
84 Bot.Client.Self.Jump(false);
84 } 85 }
85 86
86 private string[] readexcuses() 87 private string[] readexcuses()