fix a bug on part inventory locking

master
UbitUmarov 2020-05-14 11:51:57 +01:00
parent af1e20d054
commit dd55a3d19c
1 changed files with 1 additions and 1 deletions

View File

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