Skip to content

Commit

Permalink
Fix drop cap reset timer being an hour ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
SyberiaK committed Dec 18, 2024
1 parent 38ebf7e commit e79f5db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utypes/game_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,11 @@ def drop_cap_reset_timer() -> tuple[int, int, int, int]:
"""Get drop cap reset time"""

wanted_weekday = 1
wanted_time = 17
wanted_time = 18

now = dt.datetime.now(tz=VALVE_TIMEZONE)
if is_pdt(now):
wanted_time += 1
# if is_pdt(now):
# wanted_time += 1

days_until_wanted_weekday = (wanted_weekday - now.weekday()) % 7

Expand Down

0 comments on commit e79f5db

Please sign in to comment.