aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs12
1 files changed, 4 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1462922..8aeca31 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -87,14 +87,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
87 m_localID = localID; 87 m_localID = localID;
88 m_itemID = itemID; 88 m_itemID = itemID;
89 89
90 IConfigSource config = new IniConfigSource(Application.iniFilePath); 90 m_ScriptDelayFactor =
91 if (config.Configs["XEngine"] == null) 91 m_ScriptEngine.Config.GetFloat("ScriptDelayFactor", 1.0f);
92 config.AddConfig("XEngine"); 92 m_ScriptDistanceFactor =
93 93 m_ScriptEngine.Config.GetFloat("ScriptDistanceLimitFactor", 1.0f);
94 m_ScriptDelayFactor = config.Configs["XEngine"].
95 GetFloat("ScriptDelayFactor", 1.0f);
96 m_ScriptDistanceFactor = config.Configs["XEngine"].
97 GetFloat("ScriptDistanceLimitFactor", 1.0f);
98 94
99 AsyncCommands = new AsyncCommandManager(ScriptEngine); 95 AsyncCommands = new AsyncCommandManager(ScriptEngine);
100 } 96 }