mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
When controls are released by script, don't drop the permission to
retake them.
This commit is contained in:
@@ -3315,8 +3315,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
// Unregister controls from Presence
|
||||
presence.UnRegisterControlEventsToScript(m_host.LocalId, m_item.ItemID);
|
||||
// Remove Take Control permission.
|
||||
m_item.PermsMask &= ~ScriptBaseClass.PERMISSION_TAKE_CONTROLS;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user