From 5ba33f846129f3e6c0505b19f94634b24505e828 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Apr 2026 15:16:36 +0100 Subject: config/lua: init lua config manager, use lua if available (#13817) Adds a new lua config manager, which will automatically be used if there is a lua config present. --- src/debug/log/Logger.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/debug/log/Logger.cpp') diff --git a/src/debug/log/Logger.cpp b/src/debug/log/Logger.cpp index 1aca4d51..52ba475c 100644 --- a/src/debug/log/Logger.cpp +++ b/src/debug/log/Logger.cpp @@ -43,10 +43,10 @@ void CLogger::initCallbacks() { } void CLogger::recheckCfg() { - static auto PDISABLELOGS = CConfigValue("debug:disable_logs"); - static auto PDISABLETIME = CConfigValue("debug:disable_time"); - static auto PENABLESTDOUT = CConfigValue("debug:enable_stdout_logs"); - static auto PENABLECOLOR = CConfigValue("debug:colored_stdout_logs"); + static auto PDISABLELOGS = CConfigValue("debug:disable_logs"); + static auto PDISABLETIME = CConfigValue("debug:disable_time"); + static auto PENABLESTDOUT = CConfigValue("debug:enable_stdout_logs"); + static auto PENABLECOLOR = CConfigValue("debug:colored_stdout_logs"); m_logger.setEnableStdout(!*PDISABLELOGS && *PENABLESTDOUT); m_logsEnabled = !*PDISABLELOGS; -- cgit v1.2.3