diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs index 6042a54..d7f23f8 100644 --- a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs +++ b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs | |||
@@ -72,7 +72,7 @@ namespace OpenSim.Region.Environment.Modules | |||
72 | appearance.TextureEntry = AvatarAppearance.GetDefaultTextureEntry(); | 72 | appearance.TextureEntry = AvatarAppearance.GetDefaultTextureEntry(); |
73 | lock (m_avatarsAppearance) | 73 | lock (m_avatarsAppearance) |
74 | { | 74 | { |
75 | m_avatarsAppearance.Add(avatarId, appearance); | 75 | m_avatarsAppearance[avatarId] = appearance; |
76 | } | 76 | } |
77 | return true; | 77 | return true; |
78 | } | 78 | } |
@@ -87,7 +87,7 @@ namespace OpenSim.Region.Environment.Modules | |||
87 | //add appearance to dictionary cache | 87 | //add appearance to dictionary cache |
88 | lock (m_avatarsAppearance) | 88 | lock (m_avatarsAppearance) |
89 | { | 89 | { |
90 | m_avatarsAppearance.Add(avatarId, appearance); | 90 | m_avatarsAppearance[avatarId] = appearance; |
91 | } | 91 | } |
92 | 92 | ||
93 | //update database | 93 | //update database |