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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user