Skip to content

Commit

Permalink
Check if syncing is disabled before connecting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightkingale committed Oct 7, 2023
1 parent a9cfe45 commit 97b037b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ void
update_time()
try
{
if (!cfg::sync)
return;

progress_guard guard;

cfg::offset = OSSecondsToTicks(cfg::minutes * 60);
Expand Down

0 comments on commit 97b037b

Please sign in to comment.