X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=game_common.py;h=1119ce1b4f8b694a6f8a7f5da6b8686d07434752;hp=599e54bcda4c51b936b9dac9ac1d90b03debd8af;hb=8ddccb6e5601f8df54f9cbc4c376ad76aee2fe78;hpb=2b91efc835f8e68c97830d13d1e3070fdbcf1cc5 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)