home · contact · privacy
Fix forgotten command registerings.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:49:24 +0000 (11:49 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:49:24 +0000 (11:49 +0100)
rogue_chat.py

index aebeffbf7c2186da680734d099e31c7f2b0018b3..d829e5a66ee212eea127d970925f3861ef1e8093 100755 (executable)
@@ -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)