Fix negative stat for Active Scripts

Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
This commit is contained in:
Dev Random
2014-03-22 21:47:23 -04:00
committed by Michael Cerquoni
parent ff5c38534d
commit db83208794

View File

@@ -245,8 +245,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
string state = sog.GetStateSnapshot();
ad.AttachmentObjectStates.Add(state);
sp.InTransitScriptStates.Add(state);
// Let's remove the scripts of the original object here
sog.RemoveScriptInstances(true);
// Scripts of the originals will be removed when the Agent is successfully removed.
// sog.RemoveScriptInstances(true);
}
}
}