Update module/os/fleet.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
2026-05-13 15:05:52 +08:00 committed by GitHub
parent 7b7fab5a94
commit f8175f42a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,7 @@ class OSFleet(OSCamera, Combat, Fleet, OSAsh):
super().hp_get()
if self.config.OpsiHazard1Leveling_SkipHpCheck:
self.need_repair = [False, False, False, False, False, False]
return self.hp
return
ship_icon = self._hp_grid().crop((0, -67, 67, 0))
need_repair = [TEMPLATE_EMPTY_HP.match(self.image_crop(button, copy=False)) for button in ship_icon.buttons]