diff options
author | Melanie | 2010-05-16 20:31:02 +0100 |
---|---|---|
committer | Melanie | 2010-05-16 20:31:02 +0100 |
commit | a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd (patch) | |
tree | d14e8de89a0a24c7f79d7ac6b39b92c4f7b7b2f6 /OpenSim/Framework | |
parent | Fixes mantis #4691 for real. This time I tested it, and it works. (diff) | |
download | opensim-SC_OLD-a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd.zip opensim-SC_OLD-a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd.tar.gz opensim-SC_OLD-a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd.tar.bz2 opensim-SC_OLD-a6023ea89e4ef4bfd76ed7759b273f2ae8dc16cd.tar.xz |
Prevent a crash when the two agent dictionaries get out of sync
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AgentCircuitManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/AgentCircuitManager.cs b/OpenSim/Framework/AgentCircuitManager.cs index 49d7822..1ce8c34 100644 --- a/OpenSim/Framework/AgentCircuitManager.cs +++ b/OpenSim/Framework/AgentCircuitManager.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Framework | |||
92 | else | 92 | else |
93 | { | 93 | { |
94 | AgentCircuits.Add(circuitCode, agentData); | 94 | AgentCircuits.Add(circuitCode, agentData); |
95 | AgentCircuitsByUUID.Add(agentData.AgentID, agentData); | 95 | AgentCircuitsByUUID[agentData.AgentID] = agentData; |
96 | } | 96 | } |
97 | } | 97 | } |
98 | } | 98 | } |