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