* Applied dalien's terrain help patch (thanks!)

afrisby
Adam Frisby 2007-08-17 22:57:46 +00:00
parent d2e48c8014
commit 4177f5c485
1 changed files with 9 additions and 1 deletions

View File

@ -272,7 +272,15 @@ namespace OpenSim.Region.Terrain
/// <returns>If the operation was successful (if not, the error is placed into resultText)</returns> /// <returns>If the operation was successful (if not, the error is placed into resultText)</returns>
public bool RunTerrainCmd(string[] args, ref string resultText, string simName) public bool RunTerrainCmd(string[] args, ref string resultText, string simName)
{ {
string command = args[0]; string command;
if (args.Length > 0)
{
command = args[0];
}
else
{
command = "help";
}
try try
{ {