diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | 4 |
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 2b67e84..fefbb35 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/Plugins/SensorRepeat.cs | |||
@@ -416,7 +416,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins | |||
416 | List<SensedEntity> sensedEntities = new List<SensedEntity>(); | 416 | List<SensedEntity> sensedEntities = new List<SensedEntity>(); |
417 | 417 | ||
418 | // If nobody about quit fast | 418 | // If nobody about quit fast |
419 | if(m_CmdManager.m_ScriptEngine.World.GetRootAgentCount() == 0) | 419 | if (m_CmdManager.m_ScriptEngine.World.GetRootAgentCount() == 0) |
420 | return sensedEntities; | 420 | return sensedEntities; |
421 | 421 | ||
422 | SceneObjectPart SensePoint = ts.host; | 422 | SceneObjectPart SensePoint = ts.host; |
@@ -485,7 +485,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins | |||
485 | { | 485 | { |
486 | ScenePresence sp; | 486 | ScenePresence sp; |
487 | // Try direct lookup by UUID | 487 | // Try direct lookup by UUID |
488 | if(!m_CmdManager.m_ScriptEngine.World.TryGetScenePresence(ts.keyID, out sp)) | 488 | if (!m_CmdManager.m_ScriptEngine.World.TryGetScenePresence(ts.keyID, out sp)) |
489 | return sensedEntities; | 489 | return sensedEntities; |
490 | senseEntity(sp); | 490 | senseEntity(sp); |
491 | } | 491 | } |