From b0f070040b003156e8a0fdc93df5a3aed20300ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 9 Aug 2026 11:36:52 +0200 Subject: [PATCH] Don't auto-enable logging in debug mode in headless, it's annoying. --- Core/CmdLine.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Core/CmdLine.cpp b/Core/CmdLine.cpp index 1ed72500e6..6b22d561eb 100644 --- a/Core/CmdLine.cpp +++ b/Core/CmdLine.cpp @@ -295,10 +295,6 @@ CommandLineParseResult CommandLineOptions::Parse(int argc, const char *argv[], C constexpr std::string_view controlsOption = "--controlconfig="; constexpr std::string_view logLevelOption = "--loglevel="; -#ifdef _DEBUG - enableLogging = true; -#endif - // The rest is handled in NativeInit(). // NOTE: We don't increment i here, as we'll sometimes handle options that read the next argument. for (size_t i = 1; i < argc; ) {