-def cmd_MAP(game, map_pos, size):
- """Create new map of size at position map_pos, and only '?' cells."""
- game.world.new_map(map_pos, size)
-cmd_MAP.argtypes = 'yx_tuple yx_tuple:pos'
+def cmd_MAP_SIZE(game, size):
+ game.world.map_size = size
+cmd_MAP_SIZE.argtypes = 'yx_tuple:pos'
+
+def cmd_MAP(game, map_pos):
+ """Create new map at position map_pos and only of '?' cells."""
+ game.world.new_map(map_pos)
+cmd_MAP.argtypes = 'yx_tuple'