diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index a9eba00..e74b8ed 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
159 | { | 159 | { |
160 | string script = Helpers.FieldToUTF8String(rezAsset.Data); | 160 | string script = Helpers.FieldToUTF8String(rezAsset.Data); |
161 | m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script); | 161 | m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script); |
162 | 162 | m_parentGroup.AddActiveScriptCount(1); | |
163 | } | 163 | } |
164 | else | 164 | else |
165 | { | 165 | { |
@@ -184,7 +184,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
184 | if (m_taskInventory.ContainsKey(itemId)) | 184 | if (m_taskInventory.ContainsKey(itemId)) |
185 | { | 185 | { |
186 | StartScript(m_taskInventory[itemId]); | 186 | StartScript(m_taskInventory[itemId]); |
187 | m_parentGroup.AddActiveScriptCount(1); | 187 | |
188 | } | 188 | } |
189 | else | 189 | else |
190 | { | 190 | { |