init 2
This commit is contained in:
@@ -252,9 +252,16 @@ public class ServerConfigurationManager
|
||||
|
||||
public void SelectServer(int idx)
|
||||
{
|
||||
var previousIndex = _configService.Current.CurrentServer;
|
||||
_configService.Current.CurrentServer = idx;
|
||||
CurrentServer!.FullPause = false;
|
||||
Save();
|
||||
|
||||
if (previousIndex != idx)
|
||||
{
|
||||
var serverUrl = CurrentServer.ServerUri;
|
||||
_lightlessMediator.Publish(new ActiveServerChangedMessage(serverUrl));
|
||||
}
|
||||
}
|
||||
|
||||
internal void AddCurrentCharacterToServer(int serverSelectionIndex = -1)
|
||||
|
||||
Reference in New Issue
Block a user