diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d5ad5b6..f26fc2e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3955,6 +3955,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3955 | PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); | 3955 | PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); |
3956 | if (pinfos != null && pinfos.Length > 0) | 3956 | if (pinfos != null && pinfos.Length > 0) |
3957 | pinfo = pinfos[0]; | 3957 | pinfo = pinfos[0]; |
3958 | else | ||
3959 | pinfo = null; | ||
3958 | 3960 | ||
3959 | ce.time = Util.EnvironmentTickCount(); | 3961 | ce.time = Util.EnvironmentTickCount(); |
3960 | ce.pinfo = pinfo; | 3962 | ce.pinfo = pinfo; |