diff options
author | Melanie Thielker | 2008-12-05 07:53:12 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-12-05 07:53:12 +0000 |
commit | 826450eabe16b18487391e480de4fc90639aaf52 (patch) | |
tree | 81c716c89af18022533bd282bf78e9e6e080273a /OpenSim/Region/Environment/Scenes | |
parent | And fix it right (diff) | |
download | opensim-SC-826450eabe16b18487391e480de4fc90639aaf52.zip opensim-SC-826450eabe16b18487391e480de4fc90639aaf52.tar.gz opensim-SC-826450eabe16b18487391e480de4fc90639aaf52.tar.bz2 opensim-SC-826450eabe16b18487391e480de4fc90639aaf52.tar.xz |
Actually remove the script when it's task inventory item is deleted, rather
than just stopping it.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs index 0b0c5a4..545d603 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.EventManager.TriggerStopScript(m_part.LocalId, itemID); | 530 | m_part.ParentGroup.Scene.EventManager.TriggerRemoveScript(m_part.LocalId, itemID); |
531 | } | 531 | } |
532 | m_items.Remove(itemID); | 532 | m_items.Remove(itemID); |
533 | m_inventorySerial++; | 533 | m_inventorySerial++; |