Fix : Delete useless print test and return a valid point in get_center_of_area_mountain

This commit is contained in:
NichiHachi
2024-06-23 06:02:26 +02:00
parent a9c0aceeb3
commit 097d9ab99f
2 changed files with 14 additions and 5 deletions

View File

@@ -135,7 +135,6 @@ class District:
self.roads = [self.roads_expend[0]]
while len(self.roads_expend) > 0:
road = self.roads_expend.pop(0)
print(road.position)
for id_width in [-1, 1]:
if road.id_width + id_width not in width:
width[road.id_width + id_width] = width[road.id_width] + randint(random_range[0],