diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index e950613..f804cb7 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -828,7 +828,18 @@ namespace OpenSim | |||
828 | } | 828 | } |
829 | else | 829 | else |
830 | { | 830 | { |
831 | response = MainConsole.Instance.CmdPrompt("Estate name to join", "None"); | 831 | List<EstateSettings> estates = estateDataService.LoadEstateSettingsAll(); |
832 | |||
833 | List<string> estateNames = new List<string>(); | ||
834 | foreach (EstateSettings estate in estates) | ||
835 | estateNames.Add(estate.EstateName); | ||
836 | |||
837 | response | ||
838 | = MainConsole.Instance.CmdPrompt( | ||
839 | string.Format( | ||
840 | "Name of estate to join. Existing estate names are ({0})", string.Join(", ", estateNames.ToArray())), | ||
841 | "None"); | ||
842 | |||
832 | if (response == "None") | 843 | if (response == "None") |
833 | continue; | 844 | continue; |
834 | 845 | ||