diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 4c9ffd0..cf84237 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -32,6 +32,7 @@ using System.Collections; | |||
32 | using System.Collections.Generic; | 32 | using System.Collections.Generic; |
33 | using System.Security.Policy; | 33 | using System.Security.Policy; |
34 | using System.Reflection; | 34 | using System.Reflection; |
35 | using System.Globalization; | ||
35 | using System.Xml; | 36 | using System.Xml; |
36 | using libsecondlife; | 37 | using libsecondlife; |
37 | using log4net; | 38 | using log4net; |
@@ -669,6 +670,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
669 | // | 670 | // |
670 | private object ProcessEventHandler(object parms) | 671 | private object ProcessEventHandler(object parms) |
671 | { | 672 | { |
673 | CultureInfo USCulture = new CultureInfo("en-US"); | ||
674 | Thread.CurrentThread.CurrentCulture = USCulture; | ||
675 | |||
672 | XScriptInstance instance = (XScriptInstance) parms; | 676 | XScriptInstance instance = (XScriptInstance) parms; |
673 | 677 | ||
674 | return instance.EventProcessor(); | 678 | return instance.EventProcessor(); |