From a9ffe68eff683b89e5d70ca7f65ca3db15801e27 Mon Sep 17 00:00:00 2001 From: Emmanuel AYME Date: Thu, 20 Nov 2025 17:43:21 +0100 Subject: [PATCH] Addressed an issue where the console enabling would freeze the game --- Keeper/dllmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Keeper/dllmain.cpp b/Keeper/dllmain.cpp index c00bb5a..c17ff11 100644 --- a/Keeper/dllmain.cpp +++ b/Keeper/dllmain.cpp @@ -324,8 +324,8 @@ static void EnableConsole() auto start = std::chrono::high_resolution_clock::now(); // Measure the time to renable console UEngine* Engine = nullptr; - for (int i = 0; i < 100; ++i) { // gives 10 seconds to find UE Engine - std::this_thread::sleep_for(std::chrono::milliseconds(100)); + for (int i = 0; i < 10; ++i) { // gives 10 seconds to find UE Engine + std::this_thread::sleep_for(std::chrono::milliseconds(1000)); Engine = UEngine::GetEngine(); if (Engine && Engine->ConsoleClass && Engine->GameViewport) break;