Fix a potential key collision
parent
3d75e9addd
commit
9522881404
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue