diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 1de0092..9661775 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -249,7 +249,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
249 | { | 249 | { |
250 | if ((int)InventoryType.LSL == item.InvType) | 250 | if ((int)InventoryType.LSL == item.InvType) |
251 | { | 251 | { |
252 | RemoveScriptInstance(item.ItemID); | 252 | RemoveScriptInstance(item.ItemID, sceneObjectBeingDeleted); |
253 | m_part.RemoveScriptEvents(item.ItemID); | 253 | m_part.RemoveScriptEvents(item.ItemID); |
254 | } | 254 | } |
255 | } | 255 | } |