mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
And fix it right
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user