The main function of Chapter 4 uses new_map_rooms_and_corridors function with return value tuple (rooms, map), but the function is defined in the earlier book examples with only map returning.
I have changed the return type of new_map_rooms_and_corridors function to match the main function usage.
The main function of Chapter 4 uses new_map_rooms_and_corridors function with return value tuple (rooms, map), but the function is defined in the earlier book examples with only map returning.
I have changed the return type of new_map_rooms_and_corridors function to match the main function usage.