diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-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 641516e..2b13751 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -170,7 +170,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
170 | else | 170 | else |
171 | { | 171 | { |
172 | string script = Helpers.FieldToUTF8String(asset.Data); | 172 | string script = Helpers.FieldToUTF8String(asset.Data); |
173 | m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID,item.ItemID,script); | 173 | m_parentGroup.Scene.EventManager.TriggerRezScript(LocalId,item.ItemID,script); |
174 | m_parentGroup.AddActiveScriptCount(1); | 174 | m_parentGroup.AddActiveScriptCount(1); |
175 | ScheduleFullUpdate(); | 175 | ScheduleFullUpdate(); |
176 | } | 176 | } |
@@ -211,7 +211,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
211 | { | 211 | { |
212 | if (m_taskInventory.ContainsKey(itemId)) | 212 | if (m_taskInventory.ContainsKey(itemId)) |
213 | { | 213 | { |
214 | m_parentGroup.Scene.EventManager.TriggerRemoveScript(LocalID, itemId); | 214 | m_parentGroup.Scene.EventManager.TriggerRemoveScript(LocalId, itemId); |
215 | m_parentGroup.AddActiveScriptCount(-1); | 215 | m_parentGroup.AddActiveScriptCount(-1); |
216 | } | 216 | } |
217 | else | 217 | else |