mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
another null ref, thx Tampa
This commit is contained in:
@@ -13660,7 +13660,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
ScenePresence presence = World.GetScenePresence(agentID);
|
||||
|
||||
// we are not interested in child-agents
|
||||
if (presence.IsChildAgent)
|
||||
if (presence is null || presence.IsChildAgent)
|
||||
return;
|
||||
|
||||
presence.ControllingClient.SendClearFollowCamProperties(objectID);
|
||||
|
||||
Reference in New Issue
Block a user