From: Christian Heller Date: Thu, 29 Oct 2020 04:39:01 +0000 (+0100) Subject: Minor fixes. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/condition_titles?a=commitdiff_plain;h=7f2a62ac00fd05775de4b2d95e5f58003936ff2e;p=plomrogue2-experiments Minor fixes. --- diff --git a/new2/plomrogue/commands.py b/new2/plomrogue/commands.py index 96c5d22..dc65375 100644 --- a/new2/plomrogue/commands.py +++ b/new2/plomrogue/commands.py @@ -11,6 +11,7 @@ def cmd_ALL(game, msg, connection_id): game.io.send('CHAT ' + quote(t.nickname + ': ' + msg)) cmd_ALL.argtypes = 'string' +# TOOD split into two commands def cmd_LOGIN(game, nick, connection_id): for t in [t for t in game.things if t.type_ == 'player' and t.nickname == nick]: raise GameError('name already in use') diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 9c70d82..e3204e8 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -415,7 +415,6 @@ server.websocket.onmessage = function (event) { game.player_id = parseInt(tokens[1]); } else if (tokens[0] === 'LOGIN_OK') { server.send(['GET_GAMESTATE']); - tui.log_msg('@ ' + tokens[1]); tui.log_help(); tui.switch_mode(mode_play); } else if (tokens[0] === 'ANNOTATION') {