From: Christian Heller Date: Sat, 19 Jan 2019 23:41:30 +0000 (+0100) Subject: Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/processes?a=commitdiff_plain;h=5060247a245bfa5c25959b208896e12bd3c6f93d;p=plomrogue2-experiments Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos. --- 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)