From 7277f7eca06384afc73472afef0536b7cd43bfdb Mon Sep 17 00:00:00 2001 From: Lyall Stamper Date: Sun, 25 Aug 2024 14:34:49 +0100 Subject: [PATCH] Changed GEngine search time limit from 10s->30s to account for slower startup times. --- src/dllmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 7882aa5..057928a 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -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) { @@ -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; }