Skip to content

Commit

Permalink
fix for #240
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Feb 10, 2025
1 parent c56f782 commit 3cbb62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/cafe_reward.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def implement(self):
invite_girl(self, 2)
interaction_for_cafe_solve_method3(self)

# handle next time accroding to invitation ticket cool time and interval
# handle next time according to invitation ticket cool time and interval
if ticket1_next_time is not None:
self.next_time = ticket1_next_time
if ticket2_next_time is not None:
if self.next_time == 0:
self.next_time = ticket2_next_time
else:
self.next_time = min(ticket2_next_time, self.next_time)
if self.next_time < self.scheduler.get_interval('cafe_reward'):
if self.next_time > self.scheduler.get_interval('cafe_reward'):
self.next_time = 0
return True

Expand Down

0 comments on commit 3cbb62b

Please sign in to comment.