home · contact · privacy
Fix forgotten argtypes.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:50:09 +0000 (11:50 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Nov 2020 10:50:09 +0000 (11:50 +0100)
plomrogue/commands.py

index fd0863284f04c550fb623dd936070bc65f63ba79..c51dcc9051d9d905f93a256f2dcd3db66cd3aff0 100644 (file)
@@ -92,12 +92,12 @@ def cmd_PORTAL(game, yx, msg, pw, connection_id):
     else:
         game.portals[yx] = msg
     game.changed = True
-cmd_PORTAL.argtypes = 'yx_tuple:nonneg string string'
+cmd_GOD_PORTAL.argtypes = 'yx_tuple:nonneg string string'
 
 def cmd_GOD_ANNOTATE(game, yx, msg):
     game.annotations[yx] = msg
     game.changed = True
-cmd_ANNOTATE.argtypes = 'yx_tuple:nonneg string'
+cmd_GOD_ANNOTATE.argtypes = 'yx_tuple:nonneg string'
 
 def cmd_GOD_PORTAL(game, yx, msg):
     game.portals[yx] = msg