fixes for changing servers
This commit is contained in:
@@ -124,6 +124,7 @@ public class OnlinePlayerManager : IDisposable
|
||||
_apiController.PairedWithOther -= ApiControllerOnPairedWithOther;
|
||||
_apiController.UnpairedFromOther -= ApiControllerOnUnpairedFromOther;
|
||||
_apiController.Disconnected -= ApiControllerOnDisconnected;
|
||||
_apiController.Connected -= ApiControllerOnConnected;
|
||||
|
||||
_ipcManager.PenumbraDisposed -= ApiControllerOnDisconnected;
|
||||
|
||||
|
||||
@@ -171,6 +171,7 @@ namespace MareSynchronos.UI
|
||||
{
|
||||
_pluginConfiguration.ApiUri = _apiController.ServerDictionary.Single(k => k.Value == comboEntries[i]).Key;
|
||||
_pluginConfiguration.Save();
|
||||
_ = _apiController.CreateConnections();
|
||||
}
|
||||
|
||||
if (isSelected)
|
||||
|
||||
Reference in New Issue
Block a user