home · contact · privacy
Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 19 Jan 2019 23:41:30 +0000 (00:41 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 19 Jan 2019 23:41:30 +0000 (00:41 +0100)
game_common.py

index 599e54bcda4c51b936b9dac9ac1d90b03debd8af..1119ce1b4f8b694a6f8a7f5da6b8686d07434752 100644 (file)
@@ -85,7 +85,7 @@ class CommonCommandsMixin:
             raise ArgError('First map argument must be one of: ' +
                            ', '.join(legal_grids))
         self.world.new_map(geometry, yx)
-    cmd_MAP.argtypes = 'string yx_tuple:nonneg'
+    cmd_MAP.argtypes = 'string yx_tuple:pos'
 
     def cmd_THING_TYPE(self, i, type_):
         t = self.world.get_thing(i)