aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
index 2c9fd3e..0b0c5a4 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
@@ -527,7 +527,7 @@ namespace OpenSim.Region.Environment.Scenes
527 int type = m_items[itemID].InvType; 527 int type = m_items[itemID].InvType;
528 if (type == 10) // Script 528 if (type == 10) // Script
529 { 529 {
530 m_part.ParentGroup.Scene.TriggerStopScript(m_part.LocalId, itemID); 530 m_part.ParentGroup.Scene.EventManager.TriggerStopScript(m_part.LocalId, itemID);
531 } 531 }
532 m_items.Remove(itemID); 532 m_items.Remove(itemID);
533 m_inventorySerial++; 533 m_inventorySerial++;