From 3be9adc4855d730cc6c7a8ee91678a2eb07e0ed6 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Thu, 2 Jan 2025 01:04:51 +0800 Subject: [PATCH] Fix: Switch handler in campaign_ensure_aside_20241219 --- module/campaign/campaign_ui.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/campaign/campaign_ui.py b/module/campaign/campaign_ui.py index d64a1e35b..c83373f32 100644 --- a/module/campaign/campaign_ui.py +++ b/module/campaign/campaign_ui.py @@ -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}')