diff options
author | Dev Random | 2014-03-22 21:47:23 -0400 |
---|---|---|
committer | Michael Cerquoni | 2014-03-22 23:02:10 -0400 |
commit | db83208794fe6bef3e2d7f0574739c48fd36edc5 (patch) | |
tree | a124405a96c6e79682c0285a73aae95ef319206d /OpenSim/Region | |
parent | Reverting "Set default name for mute list" that was pushed by mistake. (diff) | |
download | opensim-SC-db83208794fe6bef3e2d7f0574739c48fd36edc5.zip opensim-SC-db83208794fe6bef3e2d7f0574739c48fd36edc5.tar.gz opensim-SC-db83208794fe6bef3e2d7f0574739c48fd36edc5.tar.bz2 opensim-SC-db83208794fe6bef3e2d7f0574739c48fd36edc5.tar.xz |
Fix negative stat for Active Scripts
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 1ca142e..c3846d9 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -245,8 +245,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
245 | string state = sog.GetStateSnapshot(); | 245 | string state = sog.GetStateSnapshot(); |
246 | ad.AttachmentObjectStates.Add(state); | 246 | ad.AttachmentObjectStates.Add(state); |
247 | sp.InTransitScriptStates.Add(state); | 247 | sp.InTransitScriptStates.Add(state); |
248 | // Let's remove the scripts of the original object here | 248 | |
249 | sog.RemoveScriptInstances(true); | 249 | // Scripts of the originals will be removed when the Agent is successfully removed. |
250 | // sog.RemoveScriptInstances(true); | ||
250 | } | 251 | } |
251 | } | 252 | } |
252 | } | 253 | } |