mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()
This commit is contained in:
@@ -1442,8 +1442,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
|
||||
instance.Stop(m_WaitForEventCompletionOnScriptStop, true);
|
||||
|
||||
// bool objectRemoved = false;
|
||||
|
||||
lock (m_PrimObjects)
|
||||
{
|
||||
// Remove the script from it's prim
|
||||
@@ -1455,10 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
|
||||
// If there are no more scripts, remove prim
|
||||
if (m_PrimObjects[localID].Count == 0)
|
||||
{
|
||||
m_PrimObjects.Remove(localID);
|
||||
// objectRemoved = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user