diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/RegionInfo.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs index c42b434..9394ccc 100644 --- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs +++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs | |||
@@ -1,6 +1,7 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using System.Globalization; | ||
4 | using System.Net; | 5 | using System.Net; |
5 | using System.Web; | 6 | using System.Web; |
6 | using System.IO; | 7 | using System.IO; |
@@ -211,7 +212,7 @@ namespace OpenSim | |||
211 | attri = configData.GetAttribute("TerrainMultiplier"); | 212 | attri = configData.GetAttribute("TerrainMultiplier"); |
212 | if (attri == "") | 213 | if (attri == "") |
213 | { | 214 | { |
214 | this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0")); | 215 | this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture); |
215 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); | 216 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); |
216 | } | 217 | } |
217 | else | 218 | else |