diff options
-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 0f38261..236458c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4292,6 +4292,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4292 | PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); | 4292 | PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); |
4293 | if (pinfos != null && pinfos.Length > 0) | 4293 | if (pinfos != null && pinfos.Length > 0) |
4294 | pinfo = pinfos[0]; | 4294 | pinfo = pinfos[0]; |
4295 | else | ||
4296 | pinfo = null; | ||
4295 | 4297 | ||
4296 | ce.time = Util.EnvironmentTickCount(); | 4298 | ce.time = Util.EnvironmentTickCount(); |
4297 | ce.pinfo = pinfo; | 4299 | ce.pinfo = pinfo; |