aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-06 10:11:46 +0000
committerTeravus Ovares2008-02-06 10:11:46 +0000
commit530d24da1426351ca65b6f7435ebbc5543704346 (patch)
treea7326fee77d82e577924289db0b363709cbcc912 /OpenSim/Region/Environment
parentRemoved super-stealth mode from PasswdPrompt. (Now you can see the prompt) (diff)
downloadopensim-SC_OLD-530d24da1426351ca65b6f7435ebbc5543704346.zip
opensim-SC_OLD-530d24da1426351ca65b6f7435ebbc5543704346.tar.gz
opensim-SC_OLD-530d24da1426351ca65b6f7435ebbc5543704346.tar.bz2
opensim-SC_OLD-530d24da1426351ca65b6f7435ebbc5543704346.tar.xz
* Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index a9eba00..e74b8ed 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -159,7 +159,7 @@ namespace OpenSim.Region.Environment.Scenes
159 { 159 {
160 string script = Helpers.FieldToUTF8String(rezAsset.Data); 160 string script = Helpers.FieldToUTF8String(rezAsset.Data);
161 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script); 161 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalID, item.ItemID, script);
162 162 m_parentGroup.AddActiveScriptCount(1);
163 } 163 }
164 else 164 else
165 { 165 {
@@ -184,7 +184,7 @@ namespace OpenSim.Region.Environment.Scenes
184 if (m_taskInventory.ContainsKey(itemId)) 184 if (m_taskInventory.ContainsKey(itemId))
185 { 185 {
186 StartScript(m_taskInventory[itemId]); 186 StartScript(m_taskInventory[itemId]);
187 m_parentGroup.AddActiveScriptCount(1); 187
188 } 188 }
189 else 189 else
190 { 190 {