From 1edef5535d659980f80f7cd5c40e56dc196a9308 Mon Sep 17 00:00:00 2001 From: lL1l1 <82986251+lL1l1@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:42:53 -0800 Subject: [PATCH] Fix the printing of active mods for blueprint loading (#6426) --- changelog/snippets/fix.6426.md | 1 + lua/RuleInit.lua | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelog/snippets/fix.6426.md diff --git a/changelog/snippets/fix.6426.md b/changelog/snippets/fix.6426.md new file mode 100644 index 0000000000..10222f6d50 --- /dev/null +++ b/changelog/snippets/fix.6426.md @@ -0,0 +1 @@ +- (#6426) Fix the "Active game mods for blueprint loading" log message. diff --git a/lua/RuleInit.lua b/lua/RuleInit.lua index 7d87369242..9db7918960 100644 --- a/lua/RuleInit.lua +++ b/lua/RuleInit.lua @@ -13,7 +13,10 @@ doscript '/lua/system/utils.lua' doscript '/lua/system/repr.lua' doscript '/lua/system/debug.lua' -LOG('Active game mods for blueprint loading: ',repr(__active_mods)) +LOG('Active game mods for blueprint loading:') +for _, mod in __active_mods do + LOG(string.format('\t"%-30s v%02d (%-37s by %s', tostring(mod.name) .. '"', tostring(mod.version), tostring(mod.uid) .. ')', tostring(mod.author))) +end doscript '/lua/footprints.lua' doscript '/lua/system/Blueprints.lua'