From a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 16 May 2010 20:31:02 +0100 Subject: [PATCH] Prevent a crash when the two agent dictionaries get out of sync --- OpenSim/Framework/AgentCircuitManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/AgentCircuitManager.cs b/OpenSim/Framework/AgentCircuitManager.cs index 49d7822416..1ce8c34079 100644 --- a/OpenSim/Framework/AgentCircuitManager.cs +++ b/OpenSim/Framework/AgentCircuitManager.cs @@ -92,7 +92,7 @@ namespace OpenSim.Framework else { AgentCircuits.Add(circuitCode, agentData); - AgentCircuitsByUUID.Add(agentData.AgentID, agentData); + AgentCircuitsByUUID[agentData.AgentID] = agentData; } } }