From 5060247a245bfa5c25959b208896e12bd3c6f93d Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 20 Jan 2019 00:41:30 +0100 Subject: [PATCH] Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos. --- game_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_common.py b/game_common.py index 599e54b..1119ce1 100644 --- a/game_common.py +++ b/game_common.py @@ -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) -- 2.30.2