mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Script compiler should now show error on correct line number in original LSL-script.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
//type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args);
|
||||
|
||||
Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \"" + EventName + "\"");
|
||||
//Console.WriteLine("ScriptEngine Executor.ExecuteEvent: \"" + EventName + "\"");
|
||||
|
||||
if (Events.ContainsKey(EventName) == false)
|
||||
{
|
||||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
if (ev == null) // No event by that name!
|
||||
{
|
||||
Console.WriteLine("ScriptEngine Can not find any event named: \"" + EventName + "\"");
|
||||
//Console.WriteLine("ScriptEngine Can not find any event named: \"" + EventName + "\"");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user