修复一些问题

This commit is contained in:
HibiKier
2022-09-16 19:29:05 +08:00
parent 504f78dd49
commit 5f118471cb
7 changed files with 96 additions and 91 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ class Map:
self._generate_best_route()
self.map.crop((min_width, min_height, max_width, max_height))
rand = random.randint(1, 10000)
self.map.save(f"{IMAGE_PATH}/temp/genshin_map_{rand}.png")
self.map.save(f"{TEXT_PATH}/genshin_map_{rand}.png")
return rand
# 资源数量