aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs b/OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs
index 9fa6d7d..838851c 100644
--- a/OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/Capabilities/CapabilitiesModule.cs
@@ -175,9 +175,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.Capabilities
175 public string GetChildSeed(UUID agentID, ulong handle) 175 public string GetChildSeed(UUID agentID, ulong handle)
176 { 176 {
177 Dictionary<ulong, string> seeds; 177 Dictionary<ulong, string> seeds;
178 string returnval;
178 if (childrenSeeds.TryGetValue(agentID, out seeds)) 179 if (childrenSeeds.TryGetValue(agentID, out seeds))
179 { 180 {
180 return seeds[handle]; 181 if (seeds.TryGetValue(handle, out returnval))
182 return returnval;
181 } 183 }
182 return null; 184 return null;
183 } 185 }