Skip to content

Commit c9e9570

Browse files
committed
Fix: Skip event story in event_20260226_cn
1 parent b24d09f commit c9e9570

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

module/eventstory/eventstory.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ def get_event_story_state(self):
201201
return 'unknown'
202202

203203
def run(self):
204+
event = self.config.cross_get('Event.Campaign.Event', '')
205+
if event in [
206+
# event story is in event minigame
207+
'event_20260226_cn',
208+
]:
209+
logger.info(f'Current event ({event}) does not have event story, stopped')
210+
return
211+
204212
if not self.device.app_is_running():
205213
logger.warning('Game is not running, start it')
206214
self.app_start()

0 commit comments

Comments
 (0)