mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
ahh that bit!
This commit is contained in:
@@ -4351,7 +4351,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_host.ParentGroup.GetSittingAvatars().SingleOrDefault(sp => sp.UUID == agentID) != null)
|
||||
if (m_host.ParentGroup.HasSittingAvatar(agentID))
|
||||
{
|
||||
// When agent is sitting, certain permissions are implicit if requested from sitting agent
|
||||
implicitPerms = ScriptBaseClass.PERMISSION_TRIGGER_ANIMATION |
|
||||
|
||||
Reference in New Issue
Block a user