When asked to join region to existing estate, make first estate name the default instead of None

0.7.1-dev
Justin Clark-Casey (justincc) 2011-04-01 00:55:05 +01:00
parent e1ceb461c0
commit 8f4bf43534
1 changed files with 2 additions and 5 deletions

View File

@ -876,10 +876,7 @@ namespace OpenSim
= MainConsole.Instance.CmdPrompt(
string.Format(
"Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())),
"None");
if (response == "None")
continue;
estateNames[0]);
List<int> estateIDs = EstateDataService.GetEstates(response);
if (estateIDs.Count < 1)