Fix: 修复按舰队出生点寻找舰队的方法

This commit is contained in:
LmeSzinc 2020-05-12 17:14:43 +08:00
parent 39ab5776c8
commit 8077760542

View File

@ -249,9 +249,10 @@ class Fleet(Camera, MapOperation, AmbushHandler):
queue = queue.sort_by_camera_distance(self.camera)
self.in_sight(queue[0], sight=(-1, 0, 1, 2))
grid = self.convert_map_to_grid(queue[0])
if grid.predict_fleet():
if grid.predict_current_fleet():
self.fleet_1 = queue[0].location
elif grid.predict_fleet():
else:
self.fleet_2 = queue[0].location
queue = queue[1:]