Hopefully fixed Culture decimal problem

zircon^2
MW 2007-05-29 14:06:38 +00:00
parent cc85d0758a
commit b2e0180422
1 changed files with 2 additions and 1 deletions

View File

@ -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