mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 11:19:26 +08:00
fix: handle no flagships after retirement.
This commit is contained in:
@@ -294,6 +294,15 @@ class FleetOperator:
|
|||||||
self.click(index)
|
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):
|
class FleetPreparation(InfoHandler):
|
||||||
map_fleet_checked = False
|
map_fleet_checked = False
|
||||||
map_is_hard_mode = False
|
map_is_hard_mode = False
|
||||||
|
|||||||
Reference in New Issue
Block a user