Skip to content

Commit

Permalink
Changed GEngine search time limit from 10s->30s to account for slower…
Browse files Browse the repository at this point in the history
… startup times.
  • Loading branch information
Lyall committed Aug 25, 2024
1 parent c96d9ca commit 7277f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void EnableConsole()
SDK::UEngine* engine = nullptr;

int i = 0;
while (i < 100) { // 10s
while (i < 300) { // 30s
engine = SDK::UEngine::GetEngine();

if (engine) {
Expand All @@ -202,7 +202,7 @@ void EnableConsole()
}

if (i == 100) {
spdlog::error("Construct Console: Failed to find GEngine address after 10 seconds.");
spdlog::error("Construct Console: Failed to find GEngine address after 30 seconds.");
return;
}

Expand Down

0 comments on commit 7277f7e

Please sign in to comment.