diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 441c952..9cd22e2 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -58,10 +58,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
58 | { | 58 | { |
59 | case ".txt": | 59 | case ".txt": |
60 | case ".lsl": | 60 | case ".lsl": |
61 | Common.SendToDebug("Source code is LSL, converting to CS"); | 61 | Common.ScriptEngineBase.Common.SendToDebug("Source code is LSL, converting to CS"); |
62 | return CompileFromLSLText(File.ReadAllText(LSOFileName)); | 62 | return CompileFromLSLText(File.ReadAllText(LSOFileName)); |
63 | case ".cs": | 63 | case ".cs": |
64 | Common.SendToDebug("Source code is CS"); | 64 | Common.ScriptEngineBase.Common.SendToDebug("Source code is CS"); |
65 | return CompileFromCSText(File.ReadAllText(LSOFileName)); | 65 | return CompileFromCSText(File.ReadAllText(LSOFileName)); |
66 | default: | 66 | default: |
67 | throw new Exception("Unknown script type."); | 67 | throw new Exception("Unknown script type."); |