aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-12-05 21:51:08 +0000
committerJustin Clark-Casey (justincc)2012-12-05 21:51:08 +0000
commitea786414c283ed04a32905b177afd342c88a7471 (patch)
tree78153fec2e793a1aa918d608d75b502f101ec14f /OpenSim/Region/ScriptEngine/XEngine
parentOn XEngine.ProcessEventHandler(), instead of creating a new CultureInfo on ev... (diff)
downloadopensim-SC_OLD-ea786414c283ed04a32905b177afd342c88a7471.zip
opensim-SC_OLD-ea786414c283ed04a32905b177afd342c88a7471.tar.gz
opensim-SC_OLD-ea786414c283ed04a32905b177afd342c88a7471.tar.bz2
opensim-SC_OLD-ea786414c283ed04a32905b177afd342c88a7471.tar.xz
In XEngine.DoOnRezScript() use Culture.SetCurrentCulture() instead of constructing a new CultureInfo separately
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 1dab51e..d9d4494 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1018,8 +1018,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1018 1018
1019 string assembly = ""; 1019 string assembly = "";
1020 1020
1021 CultureInfo USCulture = new CultureInfo("en-US"); 1021 Culture.SetCurrentCulture();
1022 Thread.CurrentThread.CurrentCulture = USCulture;
1023 1022
1024 Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> linemap; 1023 Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> linemap;
1025 1024