Fix: Page switching on Virtual Tower EX

This commit is contained in:
LmeSzinc 2022-03-30 19:11:49 +08:00
parent 0730e838c5
commit 919d52f84e

View File

@ -33,6 +33,8 @@ class CampaignBase(CampaignBase_):
return 1 return 1
if name == 'ex_sp': if name == 'ex_sp':
return 2 return 2
if name == 'ex_ex':
return 3
return super(CampaignBase, CampaignBase)._campaign_get_chapter_index(name) return super(CampaignBase, CampaignBase)._campaign_get_chapter_index(name)
@ -47,6 +49,8 @@ class CampaignBase(CampaignBase_):
""" """
if 'esp' in name: if 'esp' in name:
return ['ex_sp', '1'] return ['ex_sp', '1']
if 'ex' in name:
return ['ex_ex', '1']
return super(CampaignBase, CampaignBase)._campaign_separate_name(name) return super(CampaignBase, CampaignBase)._campaign_separate_name(name)