Hopefully fixed Culture decimal problem
parent
cc85d0758a
commit
b2e0180422
|
@ -1,6 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Globalization;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -211,7 +212,7 @@ namespace OpenSim
|
||||||
attri = configData.GetAttribute("TerrainMultiplier");
|
attri = configData.GetAttribute("TerrainMultiplier");
|
||||||
if (attri == "")
|
if (attri == "")
|
||||||
{
|
{
|
||||||
this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"));
|
this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture);
|
||||||
configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString());
|
configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue