diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 03081697d9..deb995be68 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs @@ -240,7 +240,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase } } - if (engine != "DotNetEngine") + if (engine != myScriptEngine.ScriptEngineName) return; myScriptEngine.Log.Debug("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " + diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index f11ccc4a70..3a06462b59 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -359,7 +359,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine } } - if (engine != "XEngine") + if (engine != ScriptEngineName) return; Object[] parms = new Object[]{localID, itemID, script, startParam, postOnRez}; diff --git a/prebuild.xml b/prebuild.xml index c8fe1e49dc..78b69138b3 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -1996,6 +1996,7 @@ +