mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-05 11:36:56 +08:00
Fix: Switch handler in campaign_ensure_aside_20241219
This commit is contained in:
parent
39546d55c6
commit
3be9adc485
@ -139,13 +139,13 @@ class CampaignUI(MapOperation, CampaignEvent, CampaignOcr):
|
||||
chapter: 'part1', 'part2', 'sp', 'ex'
|
||||
"""
|
||||
if chapter in ['part1', 'a', 'c', 't']:
|
||||
MODE_SWITCH_20241219.set('part1', main=self)
|
||||
ASIDE_SWITCH_20241219.set('part1', main=self)
|
||||
elif chapter in ['part2', 'b', 'd']:
|
||||
MODE_SWITCH_20241219.set('part2', main=self)
|
||||
ASIDE_SWITCH_20241219.set('part2', main=self)
|
||||
elif chapter in ['sp', 'ex_sp']:
|
||||
MODE_SWITCH_20241219.set('sp', main=self)
|
||||
ASIDE_SWITCH_20241219.set('sp', main=self)
|
||||
elif chapter in ['ex', 'ex_ex']:
|
||||
MODE_SWITCH_20241219.set('sp', main=self)
|
||||
ASIDE_SWITCH_20241219.set('ex', main=self)
|
||||
else:
|
||||
logger.warning(f'Unknown campaign aside: {chapter}')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user