diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 5b5c257..90b7494 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2748,7 +2748,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2748 | UUID x = module.CreateNPC(firstname, | 2748 | UUID x = module.CreateNPC(firstname, |
2749 | lastname, | 2749 | lastname, |
2750 | position, | 2750 | position, |
2751 | UUID.Random(), | ||
2751 | ownerID, | 2752 | ownerID, |
2753 | groupTitle, | ||
2754 | groupID, | ||
2752 | senseAsAgent, | 2755 | senseAsAgent, |
2753 | World, | 2756 | World, |
2754 | appearance); | 2757 | appearance); |
@@ -2756,9 +2759,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2756 | ScenePresence sp; | 2759 | ScenePresence sp; |
2757 | if (World.TryGetScenePresence(x, out sp)) | 2760 | if (World.TryGetScenePresence(x, out sp)) |
2758 | { | 2761 | { |
2759 | sp.Grouptitle = groupTitle; | ||
2760 | ((INPC)(sp.ControllingClient)).ActiveGroupId = groupID; | ||
2761 | |||
2762 | sp.SendAvatarDataToAllAgents(); | 2762 | sp.SendAvatarDataToAllAgents(); |
2763 | } | 2763 | } |
2764 | return new LSL_Key(x.ToString()); | 2764 | return new LSL_Key(x.ToString()); |