diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs index b615baa..3f7b95e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/YP2CSConverter.cs | |||
@@ -97,6 +97,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
97 | @"this.$1(", | 97 | @"this.$1(", |
98 | RegexOptions.Compiled | RegexOptions.Singleline); | 98 | RegexOptions.Compiled | RegexOptions.Singleline); |
99 | finalcode = Regex.Replace(finalcode, | 99 | finalcode = Regex.Replace(finalcode, |
100 | @"YP.script_event\(Atom.a\(\""(.*?)""\)\,", | ||
101 | @"this.$1(", | ||
102 | RegexOptions.Compiled | RegexOptions.Singleline); | ||
103 | finalcode = Regex.Replace(finalcode, | ||
100 | @" static ", | 104 | @" static ", |
101 | @" ", | 105 | @" ", |
102 | RegexOptions.Compiled | RegexOptions.Singleline); | 106 | RegexOptions.Compiled | RegexOptions.Singleline); |