And fix it right

This commit is contained in:
Melanie Thielker
2008-12-05 05:28:17 +00:00
parent 2667fdf1e3
commit 5e819ba933

View File

@@ -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++;