From 5074da0d00298121d078a1c21659c08a0d51b2be Mon Sep 17 00:00:00 2001 From: iThorgrim Date: Sun, 10 Aug 2025 13:34:48 +0200 Subject: [PATCH] fix(log): fix the stats startup for eluna and reading scripts --- src/ElunaLuaEngine_SC.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ElunaLuaEngine_SC.cpp b/src/ElunaLuaEngine_SC.cpp index dbe2300535..bd56c8bcd6 100644 --- a/src/ElunaLuaEngine_SC.cpp +++ b/src/ElunaLuaEngine_SC.cpp @@ -1099,7 +1099,9 @@ class Eluna_WorldScript : public WorldScript { if (!reload) { - ///- Initialize Lua Engine + if (!sLog->ShouldLog("eluna", LOG_LEVEL_INFO)) + sLog->LoadFromConfig(); + LOG_INFO("eluna", "Initialize Eluna Lua Engine..."); Eluna::Initialize(); }