fix a bug on part inventory locking

This commit is contained in:
UbitUmarov
2020-05-14 11:51:57 +01:00
parent af1e20d054
commit dd55a3d19c

View File

@@ -782,7 +782,7 @@ namespace OpenSim.Region.Framework.Scenes
m_items.LockItemsForRead(true);
if (m_scripts == null || m_scripts.Count == 0)
{
m_items.LockItemsForWrite(false);
m_items.LockItemsForRead(false);
return;
}