diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 83751cf..a04a554 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1442,8 +1442,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1442 | 1442 | ||
1443 | instance.Stop(m_WaitForEventCompletionOnScriptStop, true); | 1443 | instance.Stop(m_WaitForEventCompletionOnScriptStop, true); |
1444 | 1444 | ||
1445 | // bool objectRemoved = false; | ||
1446 | |||
1447 | lock (m_PrimObjects) | 1445 | lock (m_PrimObjects) |
1448 | { | 1446 | { |
1449 | // Remove the script from it's prim | 1447 | // Remove the script from it's prim |
@@ -1455,10 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1455 | 1453 | ||
1456 | // If there are no more scripts, remove prim | 1454 | // If there are no more scripts, remove prim |
1457 | if (m_PrimObjects[localID].Count == 0) | 1455 | if (m_PrimObjects[localID].Count == 0) |
1458 | { | ||
1459 | m_PrimObjects.Remove(localID); | 1456 | m_PrimObjects.Remove(localID); |
1460 | // objectRemoved = true; | ||
1461 | } | ||
1462 | } | 1457 | } |
1463 | } | 1458 | } |
1464 | 1459 | ||