From 8e57785755e69235994ae173da996e7935a11ed8 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 14 Aug 2024 23:27:08 +0200 Subject: [PATCH] change log type on missing optional lua assets from error to info --- Source/lua/lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/lua/lua.cpp b/Source/lua/lua.cpp index f1c7626e730..afb0acabb48 100644 --- a/Source/lua/lua.cpp +++ b/Source/lua/lua.cpp @@ -119,7 +119,7 @@ sol::object RunScript(std::optional env, std::string_view pack if (result.get_type() == sol::type::string) { if (!optional) app_fatal(result.as()); - LogError("{}", result.as()); + LogInfo("{}", result.as()); return sol::lua_nil; } auto fn = result.as();