1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-20 16:29:30 +08:00

Fix: Not logging Event_Pt when Event_Pt_limit is not set.

This commit is contained in:
Zuosizhu
2023-02-25 13:11:13 +08:00
parent 45b5e90d82
commit ee8fbbda49

View File

@@ -58,6 +58,7 @@ class CampaignEvent(CampaignStatus):
]
command = self.config.Scheduler_Command
if limit <= 0 or command not in tasks:
self.get_event_pt()
return False
if command == 'GemsFarming' and self.stage_is_main(self.config.Campaign_Name):
self.get_event_pt()