diff options
author | Adam Frisby | 2009-08-21 15:15:15 +1000 |
---|---|---|
committer | Adam Frisby | 2009-08-21 15:15:15 +1000 |
commit | bd7757de22ee07b344b470eadbf55264dfb8ec1b (patch) | |
tree | 67ec339512397a753288cd4da499ae5b0d54a47e /OpenSim/Region/OptionalModules/World/NPC | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-bd7757de22ee07b344b470eadbf55264dfb8ec1b.zip opensim-SC-bd7757de22ee07b344b470eadbf55264dfb8ec1b.tar.gz opensim-SC-bd7757de22ee07b344b470eadbf55264dfb8ec1b.tar.bz2 opensim-SC-bd7757de22ee07b344b470eadbf55264dfb8ec1b.tar.xz |
* oops. Mistake with value return.
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC')
-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(); |