Skip to content

Commit

Permalink
Fix the printing of active mods for blueprint loading (#6426)
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 authored Nov 19, 2024
1 parent 7e93c7c commit 1edef55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/snippets/fix.6426.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6426) Fix the "Active game mods for blueprint loading" log message.
5 changes: 4 additions & 1 deletion lua/RuleInit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1edef55

Please sign in to comment.