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

fix: handle no flagships after retirement.

This commit is contained in:
Zuosizhu
2026-01-28 22:35:54 +08:00
committed by 0O0o0oOoO00
parent 072b62422b
commit b79dd13da6

View File

@@ -294,6 +294,15 @@ class FleetOperator:
self.click(index)
class FleetOperator(FleetOperator):
def raise_hard_not_satisfied(self):
if self.is_hard_satisfied() is False:
stage = self.main.config.Campaign_Name
logger.critical(f'Stage "{stage}" is a hard mode, '
f'please prepare your fleet "{str(self)}" in game before running Alas')
raise RequestHumanTakeover('Hard not satisfied', str(self))
class FleetPreparation(InfoHandler):
map_fleet_checked = False
map_is_hard_mode = False