* Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID
parent
3a1947f658
commit
530d24da14
|
@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
string script = Helpers.FieldToUTF8String(rezAsset.Data);
|
string script = Helpers.FieldToUTF8String(rezAsset.Data);
|
||||||
m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script);
|
m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script);
|
||||||
|
m_parentGroup.AddActiveScriptCount(1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -184,7 +184,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
if (m_taskInventory.ContainsKey(itemId))
|
if (m_taskInventory.ContainsKey(itemId))
|
||||||
{
|
{
|
||||||
StartScript(m_taskInventory[itemId]);
|
StartScript(m_taskInventory[itemId]);
|
||||||
m_parentGroup.AddActiveScriptCount(1);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue