From c3b70093199704c2ed0321898b7db1c609fedae1 Mon Sep 17 00:00:00 2001 From: Lyall Stamper Date: Sun, 1 Sep 2024 19:42:02 +0100 Subject: [PATCH] Fix misreported cvar value. --- src/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 2b99004..f8241ac 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -329,7 +329,7 @@ void SetCVARs() std::wstring wValue(cvar.second.begin(), cvar.second.end()); // Set value consoleVariable->Set(wValue.c_str()); - spdlog::info("CVar: Custom CVars: Set {} to {}", cvar.first, consoleVariable->GetString().ToString()); + spdlog::info("CVar: Custom CVars: Set {} to {}", cvar.first, cvar.second); } else { spdlog::info("CVar: Custom CVars: Failed to find {}", cvar.first);