about summary refs log tree commit diff stats
path: root/AnodyneArchipelago
diff options
context:
space:
mode:
Diffstat (limited to 'AnodyneArchipelago')
-rw-r--r--AnodyneArchipelago/Menu/MenuState.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/AnodyneArchipelago/Menu/MenuState.cs b/AnodyneArchipelago/Menu/MenuState.cs index cabb94b..898eb94 100644 --- a/AnodyneArchipelago/Menu/MenuState.cs +++ b/AnodyneArchipelago/Menu/MenuState.cs
@@ -38,6 +38,12 @@ namespace AnodyneArchipelago.Menu
38 38
39 public override void Create() 39 public override void Create()
40 { 40 {
41 if (Plugin.ArchipelagoManager != null)
42 {
43 Plugin.ArchipelagoManager.Disconnect();
44 Plugin.ArchipelagoManager = null;
45 }
46
41 _selector = new(); 47 _selector = new();
42 _selector.Play("enabledRight"); 48 _selector.Play("enabledRight");
43 49