* Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID

ThreadPoolClientBranch
Teravus Ovares 2008-02-06 10:11:46 +00:00
parent 3a1947f658
commit 530d24da14
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Scenes
{
string script = Helpers.FieldToUTF8String(rezAsset.Data);
m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script);
m_parentGroup.AddActiveScriptCount(1);
}
else
{
@ -184,7 +184,7 @@ namespace OpenSim.Region.Environment.Scenes
if (m_taskInventory.ContainsKey(itemId))
{
StartScript(m_taskInventory[itemId]);
m_parentGroup.AddActiveScriptCount(1);
}
else
{