Don't open window by default v0.17
authorLiza Carvelli <liza@carvel.li>
Sun, 16 Jun 2024 22:32:24 +0000 (00:32 +0200)
committerLiza Carvelli <liza@carvel.li>
Sun, 16 Jun 2024 22:32:24 +0000 (00:32 +0200)
Questionable/Windows/DebugWindow.cs

index 8cfdb488698a2a25c6d15c70589dc5a6956465ca..7cc3f977ecd9a2a98ec6d2e71c0888cb1db38594 100644 (file)
@@ -63,7 +63,9 @@ internal sealed class DebugWindow : LWindow, IPersistableWindowConfig
         _navmeshIpc = navmeshIpc;
         _logger = logger;
 
+#if DEBUG
         IsOpen = true;
+#endif
         SizeConstraints = new WindowSizeConstraints
         {
             MinimumSize = new Vector2(200, 30),