When asked to join region to existing estate, make first estate name the default instead of None
parent
e1ceb461c0
commit
8f4bf43534
|
@ -876,10 +876,7 @@ namespace OpenSim
|
||||||
= MainConsole.Instance.CmdPrompt(
|
= MainConsole.Instance.CmdPrompt(
|
||||||
string.Format(
|
string.Format(
|
||||||
"Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())),
|
"Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())),
|
||||||
"None");
|
estateNames[0]);
|
||||||
|
|
||||||
if (response == "None")
|
|
||||||
continue;
|
|
||||||
|
|
||||||
List<int> estateIDs = EstateDataService.GetEstates(response);
|
List<int> estateIDs = EstateDataService.GetEstates(response);
|
||||||
if (estateIDs.Count < 1)
|
if (estateIDs.Count < 1)
|
||||||
|
|
Loading…
Reference in New Issue