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 9394ccc..dc9bb1a 100644 --- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs +++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs | |||
@@ -212,7 +212,8 @@ namespace OpenSim | |||
212 | attri = configData.GetAttribute("TerrainMultiplier"); | 212 | attri = configData.GetAttribute("TerrainMultiplier"); |
213 | if (attri == "") | 213 | if (attri == "") |
214 | { | 214 | { |
215 | this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture); | 215 | string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"); |
216 | this.TerrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture); | ||
216 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); | 217 | configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); |
217 | } | 218 | } |
218 | else | 219 | else |