aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
index 4a4e808..9999d9c 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs
@@ -194,6 +194,15 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
194 194
195 public void OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine) 195 public void OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine)
196 { 196 {
197 if (script.Length > 15)
198 {
199 if (script.Substring(0, 15) == "//DotNetEngine:")
200 {
201 script = "//" + script.Substring(15);
202 engine = "DotNetEngine";
203 }
204 }
205
197 if (engine != "DotNetEngine") 206 if (engine != "DotNetEngine")
198 return; 207 return;
199 208