aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
index 6de0773..ed5a2fe 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs
@@ -510,7 +510,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
510 senseEntity(sp); 510 senseEntity(sp);
511 if ((ts.type & AGENT_BY_USERNAME) != 0) 511 if ((ts.type & AGENT_BY_USERNAME) != 0)
512 { 512 {
513 m_CmdManager.m_ScriptEngine.World.ForEachScenePresence( 513 m_CmdManager.m_ScriptEngine.World.ForEachRootScenePresence(
514 delegate (ScenePresence ssp) 514 delegate (ScenePresence ssp)
515 { 515 {
516 if (ssp.Lastname == "Resident") 516 if (ssp.Lastname == "Resident")
@@ -529,7 +529,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
529 } 529 }
530 else 530 else
531 { 531 {
532 m_CmdManager.m_ScriptEngine.World.ForEachScenePresence(senseEntity); 532 m_CmdManager.m_ScriptEngine.World.ForEachRootScenePresence(senseEntity);
533 } 533 }
534 return sensedEntities; 534 return sensedEntities;
535 } 535 }