mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
refactor: Use SOP.SitTargetAvatar instead of calling a special GetAvatarOnSitTarget() which returned exactly the same thing
This commit is contained in:
@@ -6348,7 +6348,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_String llAvatarOnSitTarget()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
return m_host.GetAvatarOnSitTarget().ToString();
|
||||
return m_host.SitTargetAvatar.ToString();
|
||||
}
|
||||
|
||||
// http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget
|
||||
|
||||
Reference in New Issue
Block a user