diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs | 2 | ||||
-rw-r--r-- | OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs index 66d5542..9bc8512 100644 --- a/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Behaviours/AbstractBehaviour.cs | |||
@@ -50,5 +50,7 @@ namespace pCampBot | |||
50 | { | 50 | { |
51 | Bot = bot; | 51 | Bot = bot; |
52 | } | 52 | } |
53 | |||
54 | public virtual void Close() {} | ||
53 | } | 55 | } |
54 | } | 56 | } |
diff --git a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs index 47b4d46..65a7c90 100644 --- a/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs +++ b/OpenSim/Tools/pCampBot/Behaviours/PhysicsBehaviour.cs | |||
@@ -78,6 +78,11 @@ namespace pCampBot | |||
78 | Bot.Client.Self.Chat(randomf, 0, ChatType.Normal); | 78 | Bot.Client.Self.Chat(randomf, 0, ChatType.Normal); |
79 | } | 79 | } |
80 | 80 | ||
81 | public override void Close() | ||
82 | { | ||
83 | Bot.Client.Self.Jump(false); | ||
84 | } | ||
85 | |||
81 | private string[] readexcuses() | 86 | private string[] readexcuses() |
82 | { | 87 | { |
83 | string allexcuses = ""; | 88 | string allexcuses = ""; |