From dc5d6c41c74a873f54163d2ea985ce2caefe7fe1 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 29 Oct 2020 05:22:03 +0100
Subject: [PATCH] Default to play mode after successful login.

---
 new2/rogue_chat_nocanvas_monochrome.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html
index 6aa17ee..72ebf78 100644
--- a/new2/rogue_chat_nocanvas_monochrome.html
+++ b/new2/rogue_chat_nocanvas_monochrome.html
@@ -419,7 +419,7 @@ server.websocket.onmessage = function (event) {
       server.send(['GET_GAMESTATE']);
       tui.log_msg('@ ' + tokens[1]);
       tui.log_help();
-      tui.switch_mode(mode_chat);
+      tui.switch_mode(mode_play);
   } else if (tokens[0] === 'ANNOTATION') {
      let position = parser.parse_yx(tokens[1]);
      explorer.update_info_db(position, tokens[2]);
-- 
2.30.2