Bug in damaged_map