aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 8462661..ced82e6 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -168,6 +168,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
168 AvatarAppearance appearance) 168 AvatarAppearance appearance)
169 { 169 {
170 NPCAvatar npcAvatar = null; 170 NPCAvatar npcAvatar = null;
171 string born = DateTime.UtcNow.ToString();
171 172
172 try 173 try
173 { 174 {
@@ -222,6 +223,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
222 ScenePresence sp; 223 ScenePresence sp;
223 if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp)) 224 if (scene.TryGetScenePresence(npcAvatar.AgentId, out sp))
224 { 225 {
226 npcAvatar.Born = born;
225 npcAvatar.ActiveGroupId = groupID; 227 npcAvatar.ActiveGroupId = groupID;
226 sp.CompleteMovement(npcAvatar, false); 228 sp.CompleteMovement(npcAvatar, false);
227 sp.Grouptitle = groupTitle; 229 sp.Grouptitle = groupTitle;