Fixed multiple windows after docking.
Fixed multiple windows after docking.

--- a/KerbalEngineer/Flight/DisplayStack.cs
+++ b/KerbalEngineer/Flight/DisplayStack.cs
@@ -61,7 +61,14 @@
         /// </summary>

         private void Awake()

         {

-            Instance = this;

+            if (Instance == null)

+            {

+                Instance = this;

+            }

+            else

+            {

+                Destroy(this);

+            }

         }

 

         /// <summary>


 Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ