From 5e819ba933fce845b503417298303618d49075e6 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 5 Dec 2008 05:28:17 +0000 Subject: And fix it right --- OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 int type = m_items[itemID].InvType; if (type == 10) // Script { - m_part.ParentGroup.Scene.TriggerStopScript(m_part.LocalId, itemID); + m_part.ParentGroup.Scene.EventManager.TriggerStopScript(m_part.LocalId, itemID); } m_items.Remove(itemID); m_inventorySerial++; -- cgit v1.1