From b8a39a4dde7d70bd641cd78b4840e4bc39a79b51 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 22 Sep 2008 11:18:49 +0000 Subject: Remove the script engine identifier tag, so the compiler just sees the language specifier. Makes language specifiers work again with script engine specifiers. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ScriptEngine/XEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 934a1b9..9219c13 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -351,6 +351,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine if (firstline.Length > 2 && firstline.Substring(0, 2) == "//" && colon != -1) { engine = firstline.Substring(2, colon-2); + script = "//" + script.Substring(script.IndexOf(':')+1); } } -- cgit v1.1