On XEngine.ProcessEventHandler(), instead of creating a new CultureInfo on every call use the single one set by Culture.SetCurrentCulture()
This is slightly different in that SetCurrentCulture() does not use overridden settings if the system culture matches en-US but some settings there have been changed. This is what we want - we do not want to use any system overriden settings.0.7.5-pf-bulletsim
parent
1b5f21f761
commit
d97440c7cf
|
@ -1415,8 +1415,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
/// <returns></returns>
|
||||
private object ProcessEventHandler(object parms)
|
||||
{
|
||||
CultureInfo USCulture = new CultureInfo("en-US");
|
||||
Thread.CurrentThread.CurrentCulture = USCulture;
|
||||
Culture.SetCurrentCulture();
|
||||
|
||||
IScriptInstance instance = (ScriptInstance) parms;
|
||||
|
||||
|
|
Loading…
Reference in New Issue