mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 05:17:24 +08:00
Fix: Normal event contains 'SP' map
- [CN] Add event entrance 永夜幻光
This commit is contained in:
@@ -606,7 +606,8 @@ class AzurLaneConfig:
|
||||
# Event
|
||||
option = config['Event']
|
||||
self.EVENT_NAME = option['event_name']
|
||||
if 'sp' in ''.join(os.listdir(f'./campaign/{self.EVENT_NAME}')):
|
||||
name = ''.join(os.listdir(f'./campaign/{self.EVENT_NAME}'))
|
||||
if 'sp1' in name or 'sp2' in name or 'sp3' in name:
|
||||
self.CAMPAIGN_EVENT = option['sp_stage']
|
||||
else:
|
||||
self.CAMPAIGN_EVENT = option['event_stage']
|
||||
|
||||
Reference in New Issue
Block a user