feat: Asks the name of the shard (#2283)
This commit is contained in:
parent
6a7d49b679
commit
1f0f272915
2 changed files with 33 additions and 75 deletions
|
|
@ -271,6 +271,12 @@ public static class ServerConfiguration
|
|||
_settings.Listeners.AddRange(ServerConfigurationPrompts.GetListeners());
|
||||
}
|
||||
|
||||
if (!_settings.Settings.ContainsKey("serverListing.serverName"))
|
||||
{
|
||||
updated = true;
|
||||
_settings.Settings["serverListing.serverName"] = ServerConfigurationPrompts.GetServerName();
|
||||
}
|
||||
|
||||
// We have a known, current expansion, so we can deserialize it from Configuration
|
||||
if (!ExpansionInfo.LoadConfiguration(out var currentExpansion))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue