mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
On initial region registration, if the user chooses the option to make the region part of an existing estate, then list the existing region names.
This commit is contained in:
@@ -828,7 +828,18 @@ namespace OpenSim
|
||||
}
|
||||
else
|
||||
{
|
||||
response = MainConsole.Instance.CmdPrompt("Estate name to join", "None");
|
||||
List<EstateSettings> estates = estateDataService.LoadEstateSettingsAll();
|
||||
|
||||
List<string> estateNames = new List<string>();
|
||||
foreach (EstateSettings estate in estates)
|
||||
estateNames.Add(estate.EstateName);
|
||||
|
||||
response
|
||||
= MainConsole.Instance.CmdPrompt(
|
||||
string.Format(
|
||||
"Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())),
|
||||
"None");
|
||||
|
||||
if (response == "None")
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user