Fix a potential key collision

avinationmerge
Melanie 2010-09-30 02:46:47 +02:00
parent 3d75e9addd
commit 9522881404
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
Dictionary<UUID, string> pstates = parts[i].Inventory.GetScriptStates(oldIDs); Dictionary<UUID, string> pstates = parts[i].Inventory.GetScriptStates(oldIDs);
foreach (KeyValuePair<UUID, string> kvp in pstates) foreach (KeyValuePair<UUID, string> kvp in pstates)
states.Add(kvp.Key, kvp.Value); states[kvp.Key] = kvp.Value;
} }
if (states.Count > 0) if (states.Count > 0)