diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 916e27f8fc..0f274f3dcf 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1091,7 +1091,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine return false; uuids = m_PrimObjects[localID]; - } + foreach (UUID itemID in uuids) { @@ -1109,6 +1109,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine result = true; } } + } return result; }