Actually remove the script when it's task inventory item is deleted, rather
than just stopping it.0.6.1-post-fixes
parent
5e819ba933
commit
826450eabe
|
@ -527,7 +527,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
int type = m_items[itemID].InvType;
|
||||
if (type == 10) // Script
|
||||
{
|
||||
m_part.ParentGroup.Scene.EventManager.TriggerStopScript(m_part.LocalId, itemID);
|
||||
m_part.ParentGroup.Scene.EventManager.TriggerRemoveScript(m_part.LocalId, itemID);
|
||||
}
|
||||
m_items.Remove(itemID);
|
||||
m_inventorySerial++;
|
||||
|
|
Loading…
Reference in New Issue