aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index 433a1c2..1c1d42f 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -274,7 +274,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
274 int eventFlags = m_ScriptManager.GetStateEventFlags(localID, 274 int eventFlags = m_ScriptManager.GetStateEventFlags(localID,
275 itemID); 275 itemID);
276 276
277 SceneObjectPart part = m_Scene.GetSceneObjectPart(itemID); 277 SceneObjectPart part = m_Scene.GetSceneObjectPart(localID);
278 if (part != null) 278 if (part != null)
279 part.SetScriptEvents(itemID, eventFlags); 279 part.SetScriptEvents(itemID, eventFlags);
280 280