Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked

ThreadPoolClientBranch
Justin Clarke Casey 2008-02-15 16:05:49 +00:00
parent 4cc5aac18b
commit cf9c0135b1
1 changed files with 6 additions and 0 deletions

View File

@ -187,6 +187,12 @@ namespace OpenSim.Region.Environment.Scenes
{
success = false;
}
// Messy way of preventing us printing out the same help text for each scene
if (cmdparams.Length <= 0 || cmdparams[0] == "help")
{
break;
}
}
return success;