When controls are released by script, don't drop the permission to

retake them.
avinationmerge
Melanie 2012-07-29 15:11:39 +02:00
parent 729046e1ad
commit 659be9dd50
1 changed files with 0 additions and 2 deletions

View File

@ -3315,8 +3315,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
// Unregister controls from Presence // Unregister controls from Presence
presence.UnRegisterControlEventsToScript(m_host.LocalId, m_item.ItemID); presence.UnRegisterControlEventsToScript(m_host.LocalId, m_item.ItemID);
// Remove Take Control permission.
m_item.PermsMask &= ~ScriptBaseClass.PERMISSION_TAKE_CONTROLS;
} }
} }
} }