Skip to content

Commit

Permalink
increase hook timeout to 5 minutes to acomodate for old PCs
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed May 1, 2024
1 parent e83b037 commit bcef8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cslol-tools/lib/lol/patcher/patcher_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ static auto new_patcher(std::function<void(Message, char const*)> update,
// Signal that process has been found.
update(M_FOUND, "");

// Hook in 30 seconds or error.
lol_throw_if(cslol_hook(tid, 30000, 100));
// Hook in 5 seconds or error.
lol_throw_if(cslol_hook(tid, 300000, 100));

// Wait for exit.
update(M_WAIT_EXIT, "");
Expand Down

0 comments on commit bcef8f1

Please sign in to comment.