diff --git a/src/TConsole.cpp b/src/TConsole.cpp index 9c6561e..1d8e773 100644 --- a/src/TConsole.cpp +++ b/src/TConsole.cpp @@ -26,7 +26,9 @@ #include "TLuaEngine.h" #include +#include #include +#include #include static inline bool StringStartsWith(const std::string& What, const std::string& StartsWith) { @@ -273,7 +275,25 @@ void TConsole::Command_Version(const std::string& cmd, const std::vector& args) { diff --git a/src/TLuaEngine.cpp b/src/TLuaEngine.cpp index 4493158..c2f930c 100644 --- a/src/TLuaEngine.cpp +++ b/src/TLuaEngine.cpp @@ -66,6 +66,7 @@ void TLuaEngine::operator()() { RegisterThread("LuaEngine"); Application::SetSubsystemStatus("LuaEngine", Application::Status::Good); // lua engine main thread + beammp_infof("Lua v{}.{}.{}", LUA_VERSION_MAJOR, LUA_VERSION_MINOR, LUA_VERSION_RELEASE); CollectAndInitPlugins(); // now call all onInit's auto Futures = TriggerEvent("onInit", "");