home · contact · privacy
Don't use LOG for meta messages, errors.
[plomrogue2-experiments] / new2 / rogue_chat.html
index 10e5ee2f5fe0c024a871643fb475aea41ae96a12..bc90c07e72d09ac8b6dc5a51f0c7b26911bbce59 100644 (file)
@@ -217,6 +217,8 @@ websocket.onmessage = function (event) {
     tui.draw_map();
   } else if (tokens[0] === 'LOG') {
      tui.log_msg(tokens[1], 1);
+  } else if (tokens[0] === 'META') {
+     tui.log_msg(tokens[1]);
   } else if (tokens[0] === 'UNHANDLED_INPUT') {
      tui.log_msg('unknown command');
   } else if (tokens[0] === 'GAME_ERROR') {