mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
fixes for changing servers
This commit is contained in:
parent
6d08b53ab3
commit
bb7e64b13d
2 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue