From f60e511c73f5e1ff4cef4f80661bfabf412c939b Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 29 May 2007 14:17:37 +0000 Subject: attempt two --- OpenSim/OpenSim.RegionServer/RegionInfo.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/OpenSim.RegionServer/RegionInfo.cs') 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 attri = configData.GetAttribute("TerrainMultiplier"); if (attri == "") { - this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"), CultureInfo.InvariantCulture); + string re = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"); + this.TerrainMultiplier = Convert.ToDouble(re, CultureInfo.InvariantCulture); configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); } else -- cgit v1.1