From f747a731bf89a3081b35b07cc821025330ebe87b Mon Sep 17 00:00:00 2001 From: beerpsi Date: Sun, 23 Jun 2024 01:36:48 +0700 Subject: [PATCH] [chuni] Use the map flag event ID when checking in GetGameMapAreaConditionApi --- titles/chuni/luminous.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/titles/chuni/luminous.py b/titles/chuni/luminous.py index 2022b34..8f02820 100644 --- a/titles/chuni/luminous.py +++ b/titles/chuni/luminous.py @@ -1,8 +1,6 @@ from datetime import timedelta from typing import Dict -from sqlalchemy.dialects.mysql.base import MySQLExecutionContext - from core.config import CoreConfig from titles.chuni.sunplus import ChuniSunPlus from titles.chuni.const import ChuniConstants, MapAreaConditionLogicalOperator, MapAreaConditionType @@ -258,8 +256,8 @@ class ChuniLuminous(ChuniSunPlus): ) # LUMINOUS ep. II - if 14250 in event_by_id: - start_date = event_by_id[14250]["startDate"].strftime(self.date_time_format) + if 14251 in event_by_id: + start_date = event_by_id[14251]["startDate"].strftime(self.date_time_format) if not mystic_area_1_added: conditions.append(mystic_area_1_conditions)