aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs4
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;
32using System.Collections.Generic; 32using System.Collections.Generic;
33using System.Security.Policy; 33using System.Security.Policy;
34using System.Reflection; 34using System.Reflection;
35using System.Globalization;
35using System.Xml; 36using System.Xml;
36using libsecondlife; 37using libsecondlife;
37using log4net; 38using 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();