From: Christian Heller Date: Tue, 10 Nov 2020 10:49:24 +0000 (+0100) Subject: Fix forgotten command registerings. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/foo.html?a=commitdiff_plain;h=be6b49b5f152b31230dd222c8306ee0d773e707e;p=plomrogue2 Fix forgotten command registerings. --- diff --git a/rogue_chat.py b/rogue_chat.py index aebeffb..d829e5a 100755 --- a/rogue_chat.py +++ b/rogue_chat.py @@ -5,7 +5,8 @@ from plomrogue.io_tcp import PlomTCPServer from plomrogue.commands import (cmd_ALL, cmd_LOGIN, cmd_NICK, cmd_QUERY, cmd_PING, cmd_MAP, cmd_TURN, cmd_MAP_LINE, cmd_GET_ANNOTATION, cmd_ANNOTATE, cmd_PORTAL, cmd_GET_GAMESTATE, - cmd_TASKS, cmd_MAP_CONTROL_LINE, cmd_MAP_CONTROL_PW) + cmd_TASKS, cmd_MAP_CONTROL_LINE, cmd_MAP_CONTROL_PW, + cmd_GOD_ANNOTATE, cmd_GOD_PORTAL) from plomrogue.tasks import (Task_WAIT, Task_MOVE, Task_WRITE, Task_FLATTEN_SURROUNDINGS) import sys @@ -27,6 +28,8 @@ game.register_command(cmd_MAP_CONTROL_PW) game.register_command(cmd_GET_ANNOTATION) game.register_command(cmd_ANNOTATE) game.register_command(cmd_PORTAL) +game.register_command(cmd_GOD_ANNOTATE) +game.register_command(cmd_GOD_PORTAL) game.register_command(cmd_GET_GAMESTATE) game.register_command(cmd_TASKS) game.register_task(Task_WAIT)