aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
1 files changed, 3 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 f4da42f..6f9e0a0 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3492,6 +3492,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3492 m_host.AddScriptLPS(1); 3492 m_host.AddScriptLPS(1);
3493 UUID avatar = (UUID)id; 3493 UUID avatar = (UUID)id;
3494 ScenePresence presence = World.GetScenePresence(avatar); 3494 ScenePresence presence = World.GetScenePresence(avatar);
3495 if (presence == null)
3496 return "";
3497
3495 if (m_host.RegionHandle == presence.RegionHandle) 3498 if (m_host.RegionHandle == presence.RegionHandle)
3496 { 3499 {
3497 Dictionary<UUID, string> animationstateNames = AnimationSet.Animations.AnimStateNames; 3500 Dictionary<UUID, string> animationstateNames = AnimationSet.Animations.AnimStateNames;