mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Prevent users from becoming stuck online. This affects only 0.7
This commit is contained in:
committed by
Melanie
parent
1cae505ea1
commit
db2f63706d
@@ -3955,6 +3955,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
|
||||
if (pinfos != null && pinfos.Length > 0)
|
||||
pinfo = pinfos[0];
|
||||
else
|
||||
pinfo = null;
|
||||
|
||||
ce.time = Util.EnvironmentTickCount();
|
||||
ce.pinfo = pinfo;
|
||||
|
||||
Reference in New Issue
Block a user