diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs index c710723..a43a5f5 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | |||
@@ -86,6 +86,12 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
86 | p_scene = scene; | 86 | p_scene = scene; |
87 | p_cloneAppearanceFrom = cloneAppearanceFrom; | 87 | p_cloneAppearanceFrom = cloneAppearanceFrom; |
88 | p_inUse = true; | 88 | p_inUse = true; |
89 | p_returnUuid = UUID.Zero; | ||
90 | } | ||
91 | |||
92 | while(p_returnUuid == UUID.Zero) | ||
93 | { | ||
94 | Thread.Sleep(250); | ||
89 | } | 95 | } |
90 | 96 | ||
91 | m_createMutex.ReleaseMutex(); | 97 | m_createMutex.ReleaseMutex(); |