1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 17:49:25 +08:00

Fix: result of map_rescan_current passed wrongly (#2657)

Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
This commit is contained in:
guoh064
2023-05-28 19:54:22 +08:00
committed by GitHub
parent 5fece23f34
commit 9569435e58

View File

@@ -826,8 +826,8 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler):
self.handle_info_bar()
self.update()
if self.map_rescan_current(drop=drop):
logger.info(f'Map rescan once end, result={result}')
return result
logger.info(f'Map rescan once end, result={True}')
return True
if rescan_mode == 'full':
logger.hr('Map rescan full', level=2)