another null ref, thx Tampa

This commit is contained in:
UbitUmarov
2024-08-08 05:41:35 +01:00
parent f1b6d9186e
commit 2361876f46

View File

@@ -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);